#272B8E#272B8E

#272B8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.160 H 273.2°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#272B8E
RGBrgb(39, 43, 142)
HSLhsl(238, 57%, 35%)
HSVhsv(238, 73%, 56%)
CMYKcmyk(72.5%, 69.7%, 0%, 44.3%)
CIE-LABlab(24.04, 32.75, -55.10)
CIE-LCHlch(24.04, 64.10, 300.72°)
OKLaboklab(35.87% 0.0089 -0.1593)
OKLCHoklch(35.87% 0.16 273.2)
XYZxyz(6.5814, 4.1114, 26.0327)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B8E #8E8A27
analogous
#275E8E #272B8E #56278E
triadic
#272B8E #8E272B #2B8E27
tetradic
#272B8E #8E275E #8E8A27 #278E56
square
#272B8E #8E275E #8E8A27 #278E56
split-complementary
#272B8E #8E5627 #5E8E27
monochromatic
#0D0E2E #1A1C5E #272B8E #343ABE #5D61D2

Accessibility & contrast

On white

11.52
#272B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272B8E
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B8E#FFFFFF#000000##FFFFFF
##272B8E1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272b8e;
/* rgb */ color: rgb(39, 43, 142);
/* oklch */ color: oklch(35.9% 0.160 273.2);
Tailwind
colors: {
  custom: {
    50: '#7165b0',
    500: '#272b8e',
    950: '#000000',
  },
}
SCSS
$custom: #272b8e;
$custom-light: #7165b0;
$custom-dark: #000000;
JSON
{
  "hex": "#272b8e",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 237.67,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35867,
    "c": 0.15953,
    "h": 273.2
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#272B8E
secondary
#B8B459
accent
#DA48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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