#272E73#272E73

#272E73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.118 H 273.9°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#272E73
RGBrgb(39, 46, 115)
HSLhsl(234, 49%, 30%)
HSVhsv(234, 66%, 45%)
CMYKcmyk(66.1%, 60%, 0%, 54.9%)
CIE-LABlab(22.38, 20.74, -40.79)
CIE-LCHlch(22.38, 45.76, 296.95°)
OKLaboklab(33.91% 0.0081 -0.1173)
OKLCHoklch(33.91% 0.118 273.9)
XYZxyz(4.9072, 3.6227, 16.6570)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E73 #736C27
analogous
#275473 #272E73 #462773
triadic
#272E73 #73272E #2E7327
tetradic
#272E73 #732754 #736C27 #277346
square
#272E73 #732754 #736C27 #277346
split-complementary
#272E73 #734627 #547327
monochromatic
#080918 #181C45 #272E73 #3640A1 #515BC4

Accessibility & contrast

On white

12.18
#272E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#272E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E73
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E73#FFFFFF#000000##FFFFFF
##272E731.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272e73;
/* rgb */ color: rgb(39, 46, 115);
/* oklch */ color: oklch(33.9% 0.118 273.9);
Tailwind
colors: {
  custom: {
    50: '#6a669c',
    500: '#272e73',
    950: '#000000',
  },
}
SCSS
$custom: #272e73;
$custom-light: #6a669c;
$custom-dark: #000000;
JSON
{
  "hex": "#272e73",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 234.474,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33905,
    "c": 0.11755,
    "h": 273.9
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#272E73
secondary
#A59E50
accent
#CC4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #272E73

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

Preview Lab → · Contrast checker → · Palette generator →

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