#252F73#252F73

#252F73 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.117 H 272.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#252F73
RGBrgb(37, 47, 115)
HSLhsl(232, 51%, 30%)
HSVhsv(232, 68%, 45%)
CMYKcmyk(67.8%, 59.1%, 0%, 54.9%)
CIE-LABlab(22.53, 19.68, -40.56)
CIE-LCHlch(22.53, 45.08, 295.88°)
OKLaboklab(33.98% 0.0047 -0.1166)
OKLCHoklch(33.98% 0.117 272.3)
XYZxyz(4.8729, 3.6637, 16.6667)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F73 #736925
analogous
#255673 #252F73 #422573
triadic
#252F73 #73252F #2F7325
tetradic
#252F73 #732556 #736925 #257342
square
#252F73 #732556 #736925 #257342
split-complementary
#252F73 #734225 #567325
monochromatic
#070917 #161C45 #252F73 #3442A1 #4D5CC6

Accessibility & contrast

On white

12.12
#252F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252F73
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F73#FFFFFF#000000##FFFFFF
##252F731.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252f73;
/* rgb */ color: rgb(37, 47, 115);
/* oklch */ color: oklch(34.0% 0.117 272.3);
Tailwind
colors: {
  custom: {
    50: '#69679c',
    500: '#252f73',
    950: '#000000',
  },
}
SCSS
$custom: #252f73;
$custom-light: #69679c;
$custom-dark: #000000;
JSON
{
  "hex": "#252f73",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 232.308,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33977,
    "c": 0.11673,
    "h": 272.3
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#252F73
secondary
#A69A4E
accent
#C94DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #252F73

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

Preview Lab → · Contrast checker → · Palette generator →

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