#272F8E#272F8E

#272F8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.155 H 272.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#272F8E
RGBrgb(39, 47, 142)
HSLhsl(235, 57%, 35%)
HSVhsv(235, 73%, 56%)
CMYKcmyk(72.5%, 66.9%, 0%, 44.3%)
CIE-LABlab(25.00, 30.15, -53.52)
CIE-LCHlch(25.00, 61.43, 299.40°)
OKLaboklab(36.57% 0.0062 -0.1546)
OKLCHoklch(36.57% 0.155 272.3)
XYZxyz(6.7341, 4.4167, 26.0836)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F8E #8E8627
analogous
#27628E #272F8E #52278E
triadic
#272F8E #8E272F #2F8E27
tetradic
#272F8E #8E2762 #8E8627 #278E52
square
#272F8E #8E2762 #8E8627 #278E52
split-complementary
#272F8E #8E5227 #628E27
monochromatic
#0D0F2E #1A1F5E #272F8E #343FBE #5D66D2

Accessibility & contrast

On white

11.15
#272F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#272F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F8E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F8E#FFFFFF#000000##FFFFFF
##272F8E1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272f8e;
/* rgb */ color: rgb(39, 47, 142);
/* oklch */ color: oklch(36.6% 0.155 272.3);
Tailwind
colors: {
  custom: {
    50: '#7167b0',
    500: '#272f8e',
    950: '#000000',
  },
}
SCSS
$custom: #272f8e;
$custom-light: #7167b0;
$custom-dark: #000000;
JSON
{
  "hex": "#272f8e",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 235.34,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3657,
    "c": 0.15474,
    "h": 272.3
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#272F8E
secondary
#B8B059
accent
#D448E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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