#273D97#273D97

#273D97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.150 H 268.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#273D97
RGBrgb(39, 61, 151)
HSLhsl(228, 59%, 37%)
HSVhsv(228, 74%, 59%)
CMYKcmyk(74.2%, 59.6%, 0%, 40.8%)
CIE-LABlab(29.42, 24.17, -51.84)
CIE-LCHlch(29.42, 57.20, 294.99°)
OKLaboklab(40.07% -0.0044 -0.1496)
OKLCHoklch(40.07% 0.15 268.3)
XYZxyz(8.0894, 6.0023, 30.0044)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D97 #978127
analogous
#277597 #273D97 #492797
triadic
#273D97 #97273D #3D9727
tetradic
#273D97 #972775 #978127 #279749
square
#273D97 #972775 #978127 #279749
split-complementary
#273D97 #974927 #759727
monochromatic
#0E1636 #1A2966 #273D97 #3451C8 #6279D6

Accessibility & contrast

On white

9.54
#273D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#273D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D97
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D97#FFFFFF#000000##FFFFFF
##273D971.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273d97;
/* rgb */ color: rgb(39, 61, 151);
/* oklch */ color: oklch(40.1% 0.150 268.3);
Tailwind
colors: {
  custom: {
    50: '#7272b6',
    500: '#273d97',
    950: '#000000',
  },
}
SCSS
$custom: #273d97;
$custom-light: #7272b6;
$custom-dark: #000000;
JSON
{
  "hex": "#273d97",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 228.214,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.14964,
    "h": 268.3
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#273D97
secondary
#BCA95E
accent
#C346E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273D97

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#273D97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva