#252F72#252F72

#252F72 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.115 H 272.3°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#252F72
RGBrgb(37, 47, 114)
HSLhsl(232, 51%, 30%)
HSVhsv(232, 68%, 45%)
CMYKcmyk(67.5%, 58.8%, 0%, 55.3%)
CIE-LABlab(22.45, 19.30, -40.05)
CIE-LCHlch(22.45, 44.46, 295.73°)
OKLaboklab(33.89% 0.0047 -0.1151)
OKLCHoklch(33.89% 0.115 272.3)
XYZxyz(4.8157, 3.6408, 16.3653)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F72 #726825
analogous
#255672 #252F72 #422572
triadic
#252F72 #72252F #2F7225
tetradic
#252F72 #722556 #726825 #257242
square
#252F72 #722556 #726825 #257242
split-complementary
#252F72 #724225 #567225
monochromatic
#070A17 #161C44 #252F72 #3442A0 #4C5CC5

Accessibility & contrast

On white

12.15
#252F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#252F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F72
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F72#FFFFFF#000000##FFFFFF
##252F721.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252f72;
/* rgb */ color: rgb(37, 47, 114);
/* oklch */ color: oklch(33.9% 0.115 272.3);
Tailwind
colors: {
  custom: {
    50: '#69679b',
    500: '#252f72',
    950: '#000000',
  },
}
SCSS
$custom: #252f72;
$custom-light: #69679b;
$custom-dark: #000000;
JSON
{
  "hex": "#252f72",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 232.208,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33892,
    "c": 0.11523,
    "h": 272.3
  },
  "luminance": 0.03641
}

Semantic roles & 50–950 ramp

primary
#252F72
secondary
#A5994E
accent
#C84DDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #252F72

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

Preview Lab → · Contrast checker → · Palette generator →

#252F72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva