#273389#273389

#273389 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.143 H 271.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#273389
RGBrgb(39, 51, 137)
HSLhsl(233, 56%, 35%)
HSVhsv(233, 72%, 54%)
CMYKcmyk(71.5%, 62.8%, 0%, 46.3%)
CIE-LABlab(25.58, 25.62, -49.47)
CIE-LCHlch(25.58, 55.71, 297.38°)
OKLaboklab(36.85% 0.0035 -0.1427)
OKLCHoklch(36.85% 0.143 271.4)
XYZxyz(6.5344, 4.6045, 24.2065)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273389 #897D27
analogous
#276489 #273389 #4C2789
triadic
#273389 #892733 #338927
tetradic
#273389 #892764 #897D27 #27894C
square
#273389 #892764 #897D27 #27894C
split-complementary
#273389 #894C27 #648927
monochromatic
#0C102A #192159 #273389 #3545B9 #5A69D0

Accessibility & contrast

On white

10.93
#273389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#273389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273389
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273389#FFFFFF#000000##FFFFFF
##2733891.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273389;
/* rgb */ color: rgb(39, 51, 137);
/* oklch */ color: oklch(36.9% 0.143 271.4);
Tailwind
colors: {
  custom: {
    50: '#6f6aac',
    500: '#273389',
    950: '#000000',
  },
}
SCSS
$custom: #273389;
$custom-light: #6f6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#273389",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 232.653,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36852,
    "c": 0.14278,
    "h": 271.4
  },
  "luminance": 0.04605
}

Semantic roles & 50–950 ramp

primary
#273389
secondary
#B5AA57
accent
#CD49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273389

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

Preview Lab → · Contrast checker → · Palette generator →

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