#252E90#252E90

#252E90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.159 H 271.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#252E90
RGBrgb(37, 46, 144)
HSLhsl(235, 59%, 35%)
HSVhsv(235, 74%, 56%)
CMYKcmyk(74.3%, 68.1%, 0%, 43.5%)
CIE-LABlab(24.83, 31.30, -55.05)
CIE-LCHlch(24.83, 63.32, 299.62°)
OKLaboklab(36.47% 0.0045 -0.1592)
OKLCHoklch(36.47% 0.159 271.6)
XYZxyz(6.7723, 4.3602, 26.8648)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E90 #908725
analogous
#256390 #252E90 #512590
triadic
#252E90 #90252E #2E9025
tetradic
#252E90 #902563 #908725 #259051
square
#252E90 #902563 #908725 #259051
split-complementary
#252E90 #905125 #639025
monochromatic
#0C0F2F #181E5F #252E90 #323EC1 #5B65D5

Accessibility & contrast

On white

11.22
#252E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#252E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E90
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E90#FFFFFF#000000##FFFFFF
##252E901.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252e90;
/* rgb */ color: rgb(37, 46, 144);
/* oklch */ color: oklch(36.5% 0.159 271.6);
Tailwind
colors: {
  custom: {
    50: '#7067b1',
    500: '#252e90',
    950: '#000000',
  },
}
SCSS
$custom: #252e90;
$custom-light: #7067b1;
$custom-dark: #000000;
JSON
{
  "hex": "#252e90",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 234.953,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36468,
    "c": 0.15922,
    "h": 271.6
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#252E90
secondary
#B9B157
accent
#D545E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252E90

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

Preview Lab → · Contrast checker → · Palette generator →

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