#272E90#272E90

#272E90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.159 H 272.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#272E90
RGBrgb(39, 46, 144)
HSLhsl(236, 57%, 36%)
HSVhsv(236, 73%, 56%)
CMYKcmyk(72.9%, 68.1%, 0%, 43.5%)
CIE-LABlab(24.95, 31.54, -54.85)
CIE-LCHlch(24.95, 63.27, 299.90°)
OKLaboklab(36.59% 0.0067 -0.1585)
OKLCHoklch(36.59% 0.159 272.4)
XYZxyz(6.8460, 4.3983, 26.8683)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E90 #908927
analogous
#276290 #272E90 #542790
triadic
#272E90 #90272E #2E9027
tetradic
#272E90 #902762 #908927 #279054
square
#272E90 #902762 #908927 #279054
split-complementary
#272E90 #905427 #629027
monochromatic
#0D0F30 #1A1F60 #272E90 #343DC0 #5E66D3

Accessibility & contrast

On white

11.17
#272E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#272E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E90
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E90#FFFFFF#000000##FFFFFF
##272E901.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272e90;
/* rgb */ color: rgb(39, 46, 144);
/* oklch */ color: oklch(36.6% 0.159 272.4);
Tailwind
colors: {
  custom: {
    50: '#7167b1',
    500: '#272e90',
    950: '#000000',
  },
}
SCSS
$custom: #272e90;
$custom-light: #7167b1;
$custom-dark: #000000;
JSON
{
  "hex": "#272e90",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 236,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36586,
    "c": 0.15867,
    "h": 272.4
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#272E90
secondary
#B9B25A
accent
#D647E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272E90

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

Preview Lab → · Contrast checker → · Palette generator →

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