#252D73#252D73

#252D73 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.6% C 0.119 H 273.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#252D73
RGBrgb(37, 45, 115)
HSLhsl(234, 51%, 30%)
HSVhsv(234, 68%, 45%)
CMYKcmyk(67.8%, 60.9%, 0%, 54.9%)
CIE-LABlab(21.97, 21.08, -41.46)
CIE-LCHlch(21.97, 46.51, 296.95°)
OKLaboklab(33.56% 0.0066 -0.1193)
OKLCHoklch(33.56% 0.12 273.2)
XYZxyz(4.7948, 3.5075, 16.6407)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D73 #736B25
analogous
#255473 #252D73 #442573
triadic
#252D73 #73252D #2D7325
tetradic
#252D73 #732554 #736B25 #257344
square
#252D73 #732554 #736B25 #257344
split-complementary
#252D73 #734425 #547325
monochromatic
#070917 #161B45 #252D73 #343FA1 #4D59C6

Accessibility & contrast

On white

12.34
#252D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#252D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D73
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D73#FFFFFF#000000##FFFFFF
##252D731.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252d73;
/* rgb */ color: rgb(37, 45, 115);
/* oklch */ color: oklch(33.6% 0.119 273.2);
Tailwind
colors: {
  custom: {
    50: '#6a659c',
    500: '#252d73',
    950: '#000000',
  },
}
SCSS
$custom: #252d73;
$custom-light: #6a659c;
$custom-dark: #000000;
JSON
{
  "hex": "#252d73",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 233.846,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33563,
    "c": 0.1195,
    "h": 273.2
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#252D73
secondary
#A69D4E
accent
#CC4DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #252D73

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

Preview Lab → · Contrast checker → · Palette generator →

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