#273288#273288

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

Color values

HEX#273288
RGBrgb(39, 50, 136)
HSLhsl(233, 55%, 34%)
HSVhsv(233, 71%, 53%)
CMYKcmyk(71.3%, 63.2%, 0%, 46.7%)
CIE-LABlab(25.23, 25.92, -49.42)
CIE-LCHlch(25.23, 55.80, 297.67°)
OKLaboklab(36.57% 0.0043 -0.1426)
OKLCHoklch(36.57% 0.143 271.7)
XYZxyz(6.4197, 4.4895, 23.8160)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273288 #887D27
analogous
#276388 #273288 #4D2788
triadic
#273288 #882732 #328827
tetradic
#273288 #882763 #887D27 #27884D
square
#273288 #882763 #887D27 #27884D
split-complementary
#273288 #884D27 #638827
monochromatic
#0C0F29 #192158 #273288 #3543B8 #5A67D0

Accessibility & contrast

On white

11.06
#273288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273288
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273288#FFFFFF#000000##FFFFFF
##2732881.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #273288;
/* rgb */ color: rgb(39, 50, 136);
/* oklch */ color: oklch(36.6% 0.143 271.7);
Tailwind
colors: {
  custom: {
    50: '#6f69ab',
    500: '#273288',
    950: '#000000',
  },
}
SCSS
$custom: #273288;
$custom-light: #6f69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#273288",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 233.196,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36568,
    "c": 0.14266,
    "h": 271.7
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273288

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

Preview Lab → · Contrast checker → · Palette generator →

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