#252E9A#252E9A

#252E9A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.172 H 271.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#252E9A
RGBrgb(37, 46, 154)
HSLhsl(235, 61%, 37%)
HSVhsv(235, 76%, 60%)
CMYKcmyk(76%, 70.1%, 0%, 39.6%)
CIE-LABlab(25.80, 34.95, -59.60)
CIE-LCHlch(25.80, 69.09, 300.39°)
OKLaboklab(37.47% 0.0034 -0.1725)
OKLCHoklch(37.47% 0.172 271.1)
XYZxyz(7.5707, 4.6796, 31.0698)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E9A #9A9125
analogous
#25689A #252E9A #57259A
triadic
#252E9A #9A252E #2E9A25
tetradic
#252E9A #9A2568 #9A9125 #259A57
square
#252E9A #9A2568 #9A9125 #259A57
split-complementary
#252E9A #9A5725 #689A25
monochromatic
#0D1137 #191F69 #252E9A #313DCB #606AD9

Accessibility & contrast

On white

10.85
#252E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#252E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E9A
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E9A#FFFFFF#000000##FFFFFF
##252E9A1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252e9a;
/* rgb */ color: rgb(37, 46, 154);
/* oklch */ color: oklch(37.5% 0.172 271.1);
Tailwind
colors: {
  custom: {
    50: '#7367b9',
    500: '#252e9a',
    950: '#000000',
  },
}
SCSS
$custom: #252e9a;
$custom-light: #7367b9;
$custom-dark: #000000;
JSON
{
  "hex": "#252e9a",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 235.385,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3747,
    "c": 0.17249,
    "h": 271.1
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#252E9A
secondary
#BEB75D
accent
#D843E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #252E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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