#252A4E#252A4E

#252A4E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.065 H 275.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#252A4E
RGBrgb(37, 42, 78)
HSLhsl(233, 36%, 23%)
HSVhsv(233, 53%, 31%)
CMYKcmyk(52.6%, 46.2%, 0%, 69.4%)
CIE-LABlab(18.36, 9.30, -22.93)
CIE-LCHlch(18.36, 24.74, 292.08°)
OKLaboklab(29.97% 0.0066 -0.0649)
OKLCHoklch(29.97% 0.065 275.8)
XYZxyz(2.9656, 2.5991, 7.5517)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A4E #4E4925
analogous
#253E4E #252A4E #35254E
triadic
#252A4E #4E252A #2A4E25
tetradic
#252A4E #4E253E #4E4925 #254E35
square
#252A4E #4E253E #4E4925 #254E35
split-complementary
#252A4E #4E3525 #3E4E25
monochromatic
#0A0B15 #111424 #252A4E #394078 #4C57A1

Accessibility & contrast

On white

13.82
#252A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#252A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A4E
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A4E#FFFFFF#000000##FFFFFF
##252A4E1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F4F
Deuteranopia (green-blind)
#182B4D
Tritanopia (blue-blind)
#163238
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #252a4e;
/* rgb */ color: rgb(37, 42, 78);
/* oklch */ color: oklch(30.0% 0.065 275.8);
Tailwind
colors: {
  custom: {
    50: '#626380',
    500: '#252a4e',
    950: '#000000',
  },
}
SCSS
$custom: #252a4e;
$custom-light: #626380;
$custom-dark: #000000;
JSON
{
  "hex": "#252a4e",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 232.683,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29971,
    "c": 0.06522,
    "h": 275.8
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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