#252E99#252E99

#252E99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.171 H 271.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#252E99
RGBrgb(37, 46, 153)
HSLhsl(235, 61%, 37%)
HSVhsv(235, 76%, 60%)
CMYKcmyk(75.8%, 69.9%, 0%, 40%)
CIE-LABlab(25.70, 34.59, -59.15)
CIE-LCHlch(25.70, 68.52, 300.32°)
OKLaboklab(37.37% 0.0035 -0.1711)
OKLCHoklch(37.37% 0.171 271.2)
XYZxyz(7.4878, 4.6464, 30.6330)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E99 #999025
analogous
#256899 #252E99 #562599
triadic
#252E99 #99252E #2E9925
tetradic
#252E99 #992568 #999025 #259956
square
#252E99 #992568 #999025 #259956
split-complementary
#252E99 #995625 #689925
monochromatic
#0D1036 #191F68 #252E99 #313DCA #6069D9

Accessibility & contrast

On white

10.88
#252E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#252E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E99
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E99#FFFFFF#000000##FFFFFF
##252E991.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252e99;
/* rgb */ color: rgb(37, 46, 153);
/* oklch */ color: oklch(37.4% 0.171 271.2);
Tailwind
colors: {
  custom: {
    50: '#7367b8',
    500: '#252e99',
    950: '#000000',
  },
}
SCSS
$custom: #252e99;
$custom-light: #7367b8;
$custom-dark: #000000;
JSON
{
  "hex": "#252e99",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 235.345,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37368,
    "c": 0.17119,
    "h": 271.2
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#252E99
secondary
#BEB65C
accent
#D844E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252E99

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

Preview Lab → · Contrast checker → · Palette generator →

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