#252C4E#252C4E

#252C4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.062 H 273.4°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#252C4E
RGBrgb(37, 44, 78)
HSLhsl(230, 36%, 23%)
HSVhsv(230, 53%, 31%)
CMYKcmyk(52.6%, 43.6%, 0%, 69.4%)
CIE-LABlab(18.99, 7.86, -21.93)
CIE-LCHlch(18.99, 23.30, 289.72°)
OKLaboklab(30.45% 0.0037 -0.062)
OKLCHoklch(30.45% 0.062 273.4)
XYZxyz(3.0383, 2.7446, 7.5759)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C4E #4E4725
analogous
#25404E #252C4E #32254E
triadic
#252C4E #4E252C #2C4E25
tetradic
#252C4E #4E2540 #4E4725 #254E32
square
#252C4E #4E2540 #4E4725 #254E32
split-complementary
#252C4E #4E3225 #404E25
monochromatic
#0A0C15 #111524 #252C4E #394378 #4C5BA1

Accessibility & contrast

On white

13.56
#252C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#252C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C4E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C4E#FFFFFF#000000##FFFFFF
##252C4E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#1B2D4D
Tritanopia (blue-blind)
#153339
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #252c4e;
/* rgb */ color: rgb(37, 44, 78);
/* oklch */ color: oklch(30.5% 0.062 273.4);
Tailwind
colors: {
  custom: {
    50: '#626480',
    500: '#252c4e',
    950: '#000000',
  },
}
SCSS
$custom: #252c4e;
$custom-light: #626480;
$custom-dark: #000000;
JSON
{
  "hex": "#252c4e",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 229.756,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30453,
    "c": 0.06207,
    "h": 273.4
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#252C4E
secondary
#81784E
accent
#B95CCC
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05050A
muted
#797A7C

Preview Lab

Preview with #252C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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