#272B7D#272B7D

#272B7D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.136 H 274.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#272B7D
RGBrgb(39, 43, 125)
HSLhsl(237, 52%, 32%)
HSVhsv(237, 69%, 49%)
CMYKcmyk(68.8%, 65.6%, 0%, 51%)
CIE-LABlab(22.44, 26.53, -47.06)
CIE-LCHlch(22.44, 54.03, 299.41°)
OKLaboklab(34.22% 0.0106 -0.1357)
OKLCHoklch(34.22% 0.136 274.4)
XYZxyz(5.4010, 3.6393, 19.8159)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B7D #7D7927
analogous
#27567D #272B7D #4E277D
triadic
#272B7D #7D272B #2B7D27
tetradic
#272B7D #7D2756 #7D7927 #277D4E
square
#272B7D #7D2756 #7D7927 #277D4E
split-complementary
#272B7D #7D4E27 #567D27
monochromatic
#0A0B20 #181B4E #272B7D #363BAC #555ACA

Accessibility & contrast

On white

12.15
#272B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#272B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B7D
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B7D#FFFFFF#000000##FFFFFF
##272B7D1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272b7d;
/* rgb */ color: rgb(39, 43, 125);
/* oklch */ color: oklch(34.2% 0.136 274.4);
Tailwind
colors: {
  custom: {
    50: '#6d64a3',
    500: '#272b7d',
    950: '#000000',
  },
}
SCSS
$custom: #272b7d;
$custom-light: #6d64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#272b7d",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 237.209,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34216,
    "c": 0.13614,
    "h": 274.4
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#272B7D
secondary
#AFAA51
accent
#D54CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #272B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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