#252E7A#252E7A

#252E7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.128 H 272.5°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#252E7A
RGBrgb(37, 46, 122)
HSLhsl(234, 53%, 31%)
HSVhsv(234, 70%, 48%)
CMYKcmyk(69.7%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.83, 23.05, -44.52)
CIE-LCHlch(22.83, 50.14, 297.37°)
OKLaboklab(34.39% 0.0057 -0.1283)
OKLCHoklch(34.39% 0.128 272.5)
XYZxyz(5.2516, 3.7520, 18.8560)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E7A #7A7125
analogous
#25587A #252E7A #46257A
triadic
#252E7A #7A252E #2E7A25
tetradic
#252E7A #7A2558 #7A7125 #257A46
square
#252E7A #7A2558 #7A7125 #257A46
split-complementary
#252E7A #7A4625 #587A25
monochromatic
#090B1C #171C4B #252E7A #3340A9 #505DCA

Accessibility & contrast

On white

12.00
#252E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#252E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E7A
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E7A#FFFFFF#000000##FFFFFF
##252E7A1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252e7a;
/* rgb */ color: rgb(37, 46, 122);
/* oklch */ color: oklch(34.4% 0.128 272.5);
Tailwind
colors: {
  custom: {
    50: '#6b66a1',
    500: '#252e7a',
    950: '#000000',
  },
}
SCSS
$custom: #252e7a;
$custom-light: #6b66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#252e7a",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 233.647,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34388,
    "c": 0.12844,
    "h": 272.5
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#252E7A
secondary
#ACA24E
accent
#CD4BDD
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #252E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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