#272B8F#272B8F

#272B8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.161 H 273.1°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#272B8F
RGBrgb(39, 43, 143)
HSLhsl(238, 57%, 36%)
HSVhsv(238, 73%, 56%)
CMYKcmyk(72.7%, 69.9%, 0%, 43.9%)
CIE-LABlab(24.13, 33.11, -55.56)
CIE-LCHlch(24.13, 64.68, 300.79°)
OKLaboklab(35.97% 0.0088 -0.1606)
OKLCHoklch(35.97% 0.161 273.1)
XYZxyz(6.6568, 4.1416, 26.4299)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B8F #8F8B27
analogous
#275F8F #272B8F #57278F
triadic
#272B8F #8F272B #2B8F27
tetradic
#272B8F #8F275F #8F8B27 #278F57
square
#272B8F #8F275F #8F8B27 #278F57
split-complementary
#272B8F #8F5727 #5F8F27
monochromatic
#0D0E2F #1A1D5F #272B8F #3439BF #5D62D3

Accessibility & contrast

On white

11.49
#272B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#272B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B8F
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B8F#FFFFFF#000000##FFFFFF
##272B8F1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272b8f;
/* rgb */ color: rgb(39, 43, 143);
/* oklch */ color: oklch(36.0% 0.161 273.1);
Tailwind
colors: {
  custom: {
    50: '#7165b1',
    500: '#272b8f',
    950: '#000000',
  },
}
SCSS
$custom: #272b8f;
$custom-light: #7165b1;
$custom-dark: #000000;
JSON
{
  "hex": "#272b8f",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 237.692,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35967,
    "c": 0.16087,
    "h": 273.1
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#272B8F
secondary
#B8B55A
accent
#DB47E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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