#252A90#252A90

#252A90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.164 H 272.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#252A90
RGBrgb(37, 42, 144)
HSLhsl(237, 59%, 35%)
HSVhsv(237, 74%, 56%)
CMYKcmyk(74.3%, 70.8%, 0%, 43.5%)
CIE-LABlab(23.88, 33.87, -56.61)
CIE-LCHlch(23.88, 65.97, 300.90°)
OKLaboklab(35.78% 0.007 -0.1637)
OKLCHoklch(35.78% 0.164 272.4)
XYZxyz(6.6233, 4.0622, 26.8152)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A90 #908B25
analogous
#255F90 #252A90 #552590
triadic
#252A90 #90252A #2A9025
tetradic
#252A90 #90255F #908B25 #259055
square
#252A90 #90255F #908B25 #259055
split-complementary
#252A90 #905525 #5F9025
monochromatic
#0C0E2F #181C5F #252A90 #3238C1 #5B60D5

Accessibility & contrast

On white

11.59
#252A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#252A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A90
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A90#FFFFFF#000000##FFFFFF
##252A901.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252a90;
/* rgb */ color: rgb(37, 42, 144);
/* oklch */ color: oklch(35.8% 0.164 272.4);
Tailwind
colors: {
  custom: {
    50: '#7164b2',
    500: '#252a90',
    950: '#000000',
  },
}
SCSS
$custom: #252a90;
$custom-light: #7164b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252a90",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 237.196,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35778,
    "c": 0.16389,
    "h": 272.4
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#252A90
secondary
#B9B557
accent
#DB45E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252A90

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

Preview Lab → · Contrast checker → · Palette generator →

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