#273885#273885

#273885 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.130 H 269.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#273885
RGBrgb(39, 56, 133)
HSLhsl(229, 55%, 34%)
HSVhsv(229, 71%, 52%)
CMYKcmyk(70.7%, 57.9%, 0%, 47.8%)
CIE-LABlab(26.60, 20.68, -45.32)
CIE-LCHlch(26.60, 49.81, 294.52°)
OKLaboklab(37.51% -0.0008 -0.1305)
OKLCHoklch(37.51% 0.13 269.6)
XYZxyz(6.4831, 4.9525, 22.8000)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273885 #857427
analogous
#276785 #273885 #452785
triadic
#273885 #852738 #388527
tetradic
#273885 #852767 #857427 #278545
square
#273885 #852767 #857427 #278545
split-complementary
#273885 #854527 #678527
monochromatic
#0B1026 #192456 #273885 #354CB4 #586ECE

Accessibility & contrast

On white

10.55
#273885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#273885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273885
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273885#FFFFFF#000000##FFFFFF
##2738851.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273885;
/* rgb */ color: rgb(39, 56, 133);
/* oklch */ color: oklch(37.5% 0.130 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e6ea9',
    500: '#273885',
    950: '#000000',
  },
}
SCSS
$custom: #273885;
$custom-light: #6e6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#273885",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 133
  },
  "hsl": {
    "h": 229.149,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37509,
    "c": 0.13047,
    "h": 269.6
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#273885
secondary
#B3A255
accent
#C34ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273885

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

Preview Lab → · Contrast checker → · Palette generator →

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