#252B90#252B90

#252B90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.163 H 272.2°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#252B90
RGBrgb(37, 43, 144)
HSLhsl(237, 59%, 35%)
HSVhsv(237, 74%, 56%)
CMYKcmyk(74.3%, 70.1%, 0%, 43.5%)
CIE-LABlab(24.11, 33.24, -56.23)
CIE-LCHlch(24.11, 65.32, 300.59°)
OKLaboklab(35.95% 0.0064 -0.1626)
OKLCHoklch(35.95% 0.163 272.2)
XYZxyz(6.6592, 4.1340, 26.8271)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B90 #908A25
analogous
#256090 #252B90 #552590
triadic
#252B90 #90252B #2B9025
tetradic
#252B90 #902560 #908A25 #259055
square
#252B90 #902560 #908A25 #259055
split-complementary
#252B90 #905525 #609025
monochromatic
#0C0E2F #181C5F #252B90 #323AC1 #5B61D5

Accessibility & contrast

On white

11.49
#252B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#252B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B90
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B90#FFFFFF#000000##FFFFFF
##252B901.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252b90;
/* rgb */ color: rgb(37, 43, 144);
/* oklch */ color: oklch(35.9% 0.163 272.2);
Tailwind
colors: {
  custom: {
    50: '#7165b2',
    500: '#252b90',
    950: '#000000',
  },
}
SCSS
$custom: #252b90;
$custom-light: #7165b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252b90",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 236.636,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35947,
    "c": 0.16274,
    "h": 272.2
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#252B90
secondary
#B9B457
accent
#DA45E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252B90

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

Preview Lab → · Contrast checker → · Palette generator →

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