#272D7B#272D7B

#272D7B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.131 H 273.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#272D7B
RGBrgb(39, 45, 123)
HSLhsl(236, 52%, 32%)
HSVhsv(236, 68%, 48%)
CMYKcmyk(68.3%, 63.4%, 0%, 51.8%)
CIE-LABlab(22.78, 24.43, -45.23)
CIE-LCHlch(22.78, 51.41, 298.38°)
OKLaboklab(34.41% 0.0089 -0.1303)
OKLCHoklch(34.41% 0.131 273.9)
XYZxyz(5.3491, 3.7377, 19.1746)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D7B #7B7527
analogous
#27577B #272D7B #4B277B
triadic
#272D7B #7B272D #2D7B27
tetradic
#272D7B #7B2757 #7B7527 #277B4B
square
#272D7B #7B2757 #7B7527 #277B4B
split-complementary
#272D7B #7B4B27 #577B27
monochromatic
#0A0B1E #181C4D #272D7B #363EA9 #545CC9

Accessibility & contrast

On white

12.02
#272D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#272D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D7B
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D7B#FFFFFF#000000##FFFFFF
##272D7B1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272d7b;
/* rgb */ color: rgb(39, 45, 123);
/* oklch */ color: oklch(34.4% 0.131 273.9);
Tailwind
colors: {
  custom: {
    50: '#6c66a2',
    500: '#272d7b',
    950: '#000000',
  },
}
SCSS
$custom: #272d7b;
$custom-light: #6c66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#272d7b",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 235.714,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34413,
    "c": 0.13066,
    "h": 273.9
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#272D7B
secondary
#ADA651
accent
#D14CDB
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #272D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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