#272E97#272E97

#272E97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.168 H 272.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#272E97
RGBrgb(39, 46, 151)
HSLhsl(236, 59%, 37%)
HSVhsv(236, 74%, 59%)
CMYKcmyk(74.2%, 69.5%, 0%, 40.8%)
CIE-LABlab(25.62, 34.08, -58.05)
CIE-LCHlch(25.62, 67.32, 300.42°)
OKLaboklab(37.28% 0.006 -0.1679)
OKLCHoklch(37.28% 0.168 272)
XYZxyz(7.3977, 4.6189, 29.7738)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E97 #979027
analogous
#276697 #272E97 #582797
triadic
#272E97 #97272E #2E9727
tetradic
#272E97 #972766 #979027 #279758
square
#272E97 #972766 #979027 #279758
split-complementary
#272E97 #975827 #669727
monochromatic
#0E1036 #1A1F66 #272E97 #343DC8 #6269D6

Accessibility & contrast

On white

10.91
#272E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#272E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E97
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E97#FFFFFF#000000##FFFFFF
##272E971.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272e97;
/* rgb */ color: rgb(39, 46, 151);
/* oklch */ color: oklch(37.3% 0.168 272.0);
Tailwind
colors: {
  custom: {
    50: '#7367b7',
    500: '#272e97',
    950: '#000000',
  },
}
SCSS
$custom: #272e97;
$custom-light: #7367b7;
$custom-dark: #000000;
JSON
{
  "hex": "#272e97",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 236.25,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3728,
    "c": 0.16801,
    "h": 272
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#272E97
secondary
#BCB65E
accent
#D846E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272E97

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

Preview Lab → · Contrast checker → · Palette generator →

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