#252C90#252C90

#252C90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.162 H 272.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#252C90
RGBrgb(37, 44, 144)
HSLhsl(236, 59%, 35%)
HSVhsv(236, 74%, 56%)
CMYKcmyk(74.3%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.35, 32.60, -55.84)
CIE-LCHlch(24.35, 64.66, 300.28°)
OKLaboklab(36.12% 0.0057 -0.1615)
OKLCHoklch(36.12% 0.162 272)
XYZxyz(6.6960, 4.2076, 26.8394)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C90 #908925
analogous
#256190 #252C90 #532590
triadic
#252C90 #90252C #2C9025
tetradic
#252C90 #902561 #908925 #259053
square
#252C90 #902561 #908925 #259053
split-complementary
#252C90 #905325 #619025
monochromatic
#0C0E2F #181D5F #252C90 #323BC1 #5B63D5

Accessibility & contrast

On white

11.40
#252C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#252C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C90
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C90#FFFFFF#000000##FFFFFF
##252C901.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252c90;
/* rgb */ color: rgb(37, 44, 144);
/* oklch */ color: oklch(36.1% 0.162 272.0);
Tailwind
colors: {
  custom: {
    50: '#7165b2',
    500: '#252c90',
    950: '#000000',
  },
}
SCSS
$custom: #252c90;
$custom-light: #7165b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252c90",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 236.075,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36118,
    "c": 0.16158,
    "h": 272
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#252C90
secondary
#B9B357
accent
#D845E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252C90

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

Preview Lab → · Contrast checker → · Palette generator →

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