#272E60#272E60

#272E60 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.088 H 274.4°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#272E60
RGBrgb(39, 46, 96)
HSLhsl(233, 42%, 26%)
HSVhsv(233, 59%, 38%)
CMYKcmyk(59.4%, 52.1%, 0%, 62.4%)
CIE-LABlab(20.94, 13.59, -30.79)
CIE-LCHlch(20.94, 33.66, 293.81°)
OKLaboklab(32.36% 0.0068 -0.0879)
OKLCHoklch(32.36% 0.088 274.4)
XYZxyz(3.9243, 3.2296, 11.4806)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E60 #605927
analogous
#274B60 #272E60 #3D2760
triadic
#272E60 #60272E #2E6027
tetradic
#272E60 #60274B #605927 #27603D
square
#272E60 #60274B #605927 #27603D
split-complementary
#272E60 #603D27 #4B6027
monochromatic
#090A16 #151934 #272E60 #39438C #4B58B6

Accessibility & contrast

On white

12.76
#272E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#272E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E60
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E60#FFFFFF#000000##FFFFFF
##272E601.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163562
Deuteranopia (green-blind)
#0E305F
Tritanopia (blue-blind)
#083942
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272e60;
/* rgb */ color: rgb(39, 46, 96);
/* oklch */ color: oklch(32.4% 0.088 274.4);
Tailwind
colors: {
  custom: {
    50: '#67668d',
    500: '#272e60',
    950: '#000000',
  },
}
SCSS
$custom: #272e60;
$custom-light: #67668d;
$custom-dark: #000000;
JSON
{
  "hex": "#272e60",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 96
  },
  "hsl": {
    "h": 232.632,
    "s": 42.222,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32363,
    "c": 0.08814,
    "h": 274.4
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#272E60
secondary
#938B50
accent
#C356D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #272E60

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

Preview Lab → · Contrast checker → · Palette generator →

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