#252F93#252F93

#252F93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.162 H 271.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#252F93
RGBrgb(37, 47, 147)
HSLhsl(235, 60%, 36%)
HSVhsv(235, 75%, 58%)
CMYKcmyk(74.8%, 68%, 0%, 42.4%)
CIE-LABlab(25.36, 31.75, -56.03)
CIE-LCHlch(25.36, 64.40, 299.54°)
OKLaboklab(36.94% 0.0036 -0.162)
OKLCHoklch(36.94% 0.162 271.3)
XYZxyz(7.0441, 4.5322, 28.1017)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F93 #938925
analogous
#256693 #252F93 #522593
triadic
#252F93 #93252F #2F9325
tetradic
#252F93 #932566 #938925 #259352
square
#252F93 #932566 #938925 #259352
split-complementary
#252F93 #935225 #669325
monochromatic
#0C1031 #191F62 #252F93 #313FC4 #5C67D6

Accessibility & contrast

On white

11.01
#252F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#252F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F93
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F93#FFFFFF#000000##FFFFFF
##252F931.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252f93;
/* rgb */ color: rgb(37, 47, 147);
/* oklch */ color: oklch(36.9% 0.162 271.3);
Tailwind
colors: {
  custom: {
    50: '#7168b4',
    500: '#252f93',
    950: '#000000',
  },
}
SCSS
$custom: #252f93;
$custom-light: #7168b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252f93",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 234.545,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36941,
    "c": 0.16207,
    "h": 271.3
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#252F93
secondary
#BBB259
accent
#D545E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252F93

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

Preview Lab → · Contrast checker → · Palette generator →

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