#273D96#273D96

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

Color values

HEX#273D96
RGBrgb(39, 61, 150)
HSLhsl(228, 59%, 37%)
HSVhsv(228, 74%, 59%)
CMYKcmyk(74%, 59.3%, 0%, 41.2%)
CIE-LABlab(29.34, 23.78, -51.36)
CIE-LCHlch(29.34, 56.60, 294.85°)
OKLaboklab(39.99% -0.0044 -0.1482)
OKLCHoklch(39.99% 0.148 268.3)
XYZxyz(8.0086, 5.9700, 29.5785)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D96 #968027
analogous
#277596 #273D96 #492796
triadic
#273D96 #96273D #3D9627
tetradic
#273D96 #962775 #968027 #279649
square
#273D96 #962775 #968027 #279649
split-complementary
#273D96 #964927 #759627
monochromatic
#0E1535 #1A2965 #273D96 #3451C7 #6178D6

Accessibility & contrast

On white

9.57
#273D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#273D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D96
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D96#FFFFFF#000000##FFFFFF
##273D961.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273d96;
/* rgb */ color: rgb(39, 61, 150);
/* oklch */ color: oklch(40.0% 0.148 268.3);
Tailwind
colors: {
  custom: {
    50: '#7172b6',
    500: '#273d96',
    950: '#000000',
  },
}
SCSS
$custom: #273d96;
$custom-light: #7172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#273d96",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 228.108,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.14824,
    "h": 268.3
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273D96

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

Preview Lab → · Contrast checker → · Palette generator →

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