#272B71#272B71

#272B71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.119 H 275.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#272B71
RGBrgb(39, 43, 113)
HSLhsl(237, 49%, 30%)
HSVhsv(237, 65%, 44%)
CMYKcmyk(65.5%, 61.9%, 0%, 55.7%)
CIE-LABlab(21.40, 22.07, -41.10)
CIE-LCHlch(21.40, 46.65, 298.23°)
OKLaboklab(33.12% 0.0111 -0.1182)
OKLCHoklch(33.12% 0.119 275.3)
XYZxyz(4.6802, 3.3510, 16.0197)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B71 #716D27
analogous
#275071 #272B71 #482771
triadic
#272B71 #71272B #2B7127
tetradic
#272B71 #712750 #716D27 #277148
square
#272B71 #712750 #716D27 #277148
split-complementary
#272B71 #714827 #507127
monochromatic
#080917 #171A44 #272B71 #373C9E #5056C3

Accessibility & contrast

On white

12.57
#272B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#272B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B71
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B71#FFFFFF#000000##FFFFFF
##272B711.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272b71;
/* rgb */ color: rgb(39, 43, 113);
/* oklch */ color: oklch(33.1% 0.119 275.3);
Tailwind
colors: {
  custom: {
    50: '#6a649a',
    500: '#272b71',
    950: '#000000',
  },
}
SCSS
$custom: #272b71;
$custom-light: #6a649a;
$custom-dark: #000000;
JSON
{
  "hex": "#272b71",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 236.757,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33122,
    "c": 0.11875,
    "h": 275.3
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#272B71
secondary
#A39F50
accent
#D150D8
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #272B71

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

Preview Lab → · Contrast checker → · Palette generator →

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