#273289#273289

#273289 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.144 H 271.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#273289
RGBrgb(39, 50, 137)
HSLhsl(233, 56%, 35%)
HSVhsv(233, 72%, 54%)
CMYKcmyk(71.5%, 63.5%, 0%, 46.3%)
CIE-LABlab(25.32, 26.29, -49.90)
CIE-LCHlch(25.32, 56.40, 297.79°)
OKLaboklab(36.66% 0.0043 -0.144)
OKLCHoklch(36.66% 0.144 271.7)
XYZxyz(6.4911, 4.5181, 24.1920)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273289 #897E27
analogous
#276389 #273289 #4D2789
triadic
#273289 #892732 #328927
tetradic
#273289 #892763 #897E27 #27894D
square
#273289 #892763 #897E27 #27894D
split-complementary
#273289 #894D27 #638927
monochromatic
#0C0F2A #192159 #273289 #3543B9 #5A68D0

Accessibility & contrast

On white

11.03
#273289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#273289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273289
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273289#FFFFFF#000000##FFFFFF
##2732891.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #273289;
/* rgb */ color: rgb(39, 50, 137);
/* oklch */ color: oklch(36.7% 0.144 271.7);
Tailwind
colors: {
  custom: {
    50: '#6f69ac',
    500: '#273289',
    950: '#000000',
  },
}
SCSS
$custom: #273289;
$custom-light: #6f69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#273289",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 233.265,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36659,
    "c": 0.14407,
    "h": 271.7
  },
  "luminance": 0.04519
}

Semantic roles & 50–950 ramp

primary
#273289
secondary
#B5AB57
accent
#CE49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273289

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

Preview Lab → · Contrast checker → · Palette generator →

#273289 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva