#272B8D#272B8D

#272B8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.158 H 273.3°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#272B8D
RGBrgb(39, 43, 141)
HSLhsl(238, 57%, 35%)
HSVhsv(238, 72%, 55%)
CMYKcmyk(72.3%, 69.5%, 0%, 44.7%)
CIE-LABlab(23.94, 32.39, -54.64)
CIE-LCHlch(23.94, 63.52, 300.66°)
OKLaboklab(35.77% 0.0091 -0.1579)
OKLCHoklch(35.77% 0.158 273.3)
XYZxyz(6.5067, 4.0815, 25.6390)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B8D #8D8927
analogous
#275E8D #272B8D #56278D
triadic
#272B8D #8D272B #2B8D27
tetradic
#272B8D #8D275E #8D8927 #278D56
square
#272B8D #8D275E #8D8927 #278D56
split-complementary
#272B8D #8D5627 #5E8D27
monochromatic
#0C0E2D #1A1C5D #272B8D #343ABD #5C61D2

Accessibility & contrast

On white

11.56
#272B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#272B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B8D
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B8D#FFFFFF#000000##FFFFFF
##272B8D1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272b8d;
/* rgb */ color: rgb(39, 43, 141);
/* oklch */ color: oklch(35.8% 0.158 273.3);
Tailwind
colors: {
  custom: {
    50: '#7165af',
    500: '#272b8d',
    950: '#000000',
  },
}
SCSS
$custom: #272b8d;
$custom-light: #7165af;
$custom-dark: #000000;
JSON
{
  "hex": "#272b8d",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 237.647,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35767,
    "c": 0.15819,
    "h": 273.3
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#272B8D
secondary
#B7B359
accent
#DA48E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #272B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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