#252B4E#252B4E

#252B4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.064 H 274.6°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#252B4E
RGBrgb(37, 43, 78)
HSLhsl(231, 36%, 23%)
HSVhsv(231, 53%, 31%)
CMYKcmyk(52.6%, 44.9%, 0%, 69.4%)
CIE-LABlab(18.68, 8.58, -22.43)
CIE-LCHlch(18.68, 24.02, 290.93°)
OKLaboklab(30.21% 0.0051 -0.0634)
OKLCHoklch(30.21% 0.064 274.6)
XYZxyz(3.0015, 2.6710, 7.5636)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B4E #4E4825
analogous
#253F4E #252B4E #34254E
triadic
#252B4E #4E252B #2B4E25
tetradic
#252B4E #4E253F #4E4825 #254E34
square
#252B4E #4E253F #4E4825 #254E34
split-complementary
#252B4E #4E3425 #3F4E25
monochromatic
#0A0B15 #111424 #252B4E #394278 #4C59A1

Accessibility & contrast

On white

13.69
#252B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#252B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B4E
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B4E#FFFFFF#000000##FFFFFF
##252B4E1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#1A2C4D
Tritanopia (blue-blind)
#153238
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #252b4e;
/* rgb */ color: rgb(37, 43, 78);
/* oklch */ color: oklch(30.2% 0.064 274.6);
Tailwind
colors: {
  custom: {
    50: '#626480',
    500: '#252b4e',
    950: '#000000',
  },
}
SCSS
$custom: #252b4e;
$custom-light: #626480;
$custom-dark: #000000;
JSON
{
  "hex": "#252b4e",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 231.22,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30211,
    "c": 0.06364,
    "h": 274.6
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#252B4E
secondary
#817A4E
accent
#BB5CCC
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #252B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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