#272E8F#272E8F

#272E8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.157 H 272.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#272E8F
RGBrgb(39, 46, 143)
HSLhsl(236, 57%, 36%)
HSVhsv(236, 73%, 56%)
CMYKcmyk(72.7%, 67.8%, 0%, 43.9%)
CIE-LABlab(24.85, 31.18, -54.38)
CIE-LCHlch(24.85, 62.69, 299.82°)
OKLaboklab(36.49% 0.0068 -0.1572)
OKLCHoklch(36.49% 0.157 272.5)
XYZxyz(6.7700, 4.3678, 26.4676)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E8F #8F8827
analogous
#27628F #272E8F #54278F
triadic
#272E8F #8F272E #2E8F27
tetradic
#272E8F #8F2762 #8F8827 #278F54
square
#272E8F #8F2762 #8F8827 #278F54
split-complementary
#272E8F #8F5427 #628F27
monochromatic
#0D0F2F #1A1F5F #272E8F #343DBF #5D65D3

Accessibility & contrast

On white

11.21
#272E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#272E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E8F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E8F#FFFFFF#000000##FFFFFF
##272E8F1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272e8f;
/* rgb */ color: rgb(39, 46, 143);
/* oklch */ color: oklch(36.5% 0.157 272.5);
Tailwind
colors: {
  custom: {
    50: '#7167b1',
    500: '#272e8f',
    950: '#000000',
  },
}
SCSS
$custom: #272e8f;
$custom-light: #7167b1;
$custom-dark: #000000;
JSON
{
  "hex": "#272e8f",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 235.962,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36488,
    "c": 0.15732,
    "h": 272.5
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#272E8F
secondary
#B8B25A
accent
#D647E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272E8F

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

Preview Lab → · Contrast checker → · Palette generator →

#272E8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva