#252F90#252F90

#252F90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.158 H 271.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#252F90
RGBrgb(37, 47, 144)
HSLhsl(234, 59%, 35%)
HSVhsv(234, 74%, 56%)
CMYKcmyk(74.3%, 67.4%, 0%, 43.5%)
CIE-LABlab(25.07, 30.65, -54.64)
CIE-LCHlch(25.07, 62.65, 299.29°)
OKLaboklab(36.65% 0.0038 -0.158)
OKLCHoklch(36.65% 0.158 271.4)
XYZxyz(6.8118, 4.4393, 26.8780)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F90 #908625
analogous
#256490 #252F90 #512590
triadic
#252F90 #90252F #2F9025
tetradic
#252F90 #902564 #908625 #259051
square
#252F90 #902564 #908625 #259051
split-complementary
#252F90 #905125 #649025
monochromatic
#0C0F2F #181F5F #252F90 #323FC1 #5B66D5

Accessibility & contrast

On white

11.12
#252F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#252F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F90
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F90#FFFFFF#000000##FFFFFF
##252F901.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252f90;
/* rgb */ color: rgb(37, 47, 144);
/* oklch */ color: oklch(36.6% 0.158 271.4);
Tailwind
colors: {
  custom: {
    50: '#7067b1',
    500: '#252f90',
    950: '#000000',
  },
}
SCSS
$custom: #252f90;
$custom-light: #7067b1;
$custom-dark: #000000;
JSON
{
  "hex": "#252f90",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 234.393,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36647,
    "c": 0.15803,
    "h": 271.4
  },
  "luminance": 0.0444
}

Semantic roles & 50–950 ramp

primary
#252F90
secondary
#B9B057
accent
#D445E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252F90

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

Preview Lab → · Contrast checker → · Palette generator →

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