#272F88#272F88

#272F88 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.146 H 272.6°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#272F88
RGBrgb(39, 47, 136)
HSLhsl(235, 55%, 34%)
HSVhsv(235, 71%, 53%)
CMYKcmyk(71.3%, 65.4%, 0%, 46.7%)
CIE-LABlab(24.45, 27.94, -50.69)
CIE-LCHlch(24.45, 57.87, 298.86°)
OKLaboklab(36% 0.0066 -0.1463)
OKLCHoklch(36% 0.146 272.6)
XYZxyz(6.2957, 4.2413, 23.7747)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F88 #888027
analogous
#276088 #272F88 #502788
triadic
#272F88 #88272F #2F8827
tetradic
#272F88 #882760 #888027 #278850
square
#272F88 #882760 #888027 #278850
split-complementary
#272F88 #885027 #608827
monochromatic
#0C0E29 #191F58 #272F88 #353FB8 #5A63D0

Accessibility & contrast

On white

11.36
#272F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#272F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F88
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F88#FFFFFF#000000##FFFFFF
##272F881.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272f88;
/* rgb */ color: rgb(39, 47, 136);
/* oklch */ color: oklch(36.0% 0.146 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f67ac',
    500: '#272f88',
    950: '#000000',
  },
}
SCSS
$custom: #272f88;
$custom-light: #6f67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272f88",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 235.052,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35998,
    "c": 0.14648,
    "h": 272.6
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#272F88
secondary
#B5AD56
accent
#D249DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272F88

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

Preview Lab → · Contrast checker → · Palette generator →

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