#272D88#272D88

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

Color values

HEX#272D88
RGBrgb(39, 45, 136)
HSLhsl(236, 55%, 34%)
HSVhsv(236, 71%, 53%)
CMYKcmyk(71.3%, 66.9%, 0%, 46.7%)
CIE-LABlab(23.95, 29.26, -51.51)
CIE-LCHlch(23.95, 59.24, 299.60°)
OKLaboklab(35.63% 0.0081 -0.1488)
OKLCHoklch(35.63% 0.149 273.1)
XYZxyz(6.2175, 4.0851, 23.7486)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D88 #888227
analogous
#275E88 #272D88 #522788
triadic
#272D88 #88272D #2D8827
tetradic
#272D88 #88275E #888227 #278852
square
#272D88 #88275E #888227 #278852
split-complementary
#272D88 #885227 #5E8827
monochromatic
#0C0E29 #191D58 #272D88 #353DB8 #5A61D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272D88#FFFFFF#000000##FFFFFF
##272D881.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)
#003D8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272d88;
/* rgb */ color: rgb(39, 45, 136);
/* oklch */ color: oklch(35.6% 0.149 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f66ac',
    500: '#272d88',
    950: '#000000',
  },
}
SCSS
$custom: #272d88;
$custom-light: #6f66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272d88",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 236.289,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3563,
    "c": 0.14898,
    "h": 273.1
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#272D88
secondary
#B5AF56
accent
#D549DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272D88

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

Preview Lab → · Contrast checker → · Palette generator →

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