#252E85#252E85

#252E85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.144 H 272.1°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#252E85
RGBrgb(37, 46, 133)
HSLhsl(234, 56%, 33%)
HSVhsv(234, 72%, 52%)
CMYKcmyk(72.2%, 65.4%, 0%, 47.8%)
CIE-LABlab(23.80, 27.21, -49.88)
CIE-LCHlch(23.80, 56.82, 298.61°)
OKLaboklab(35.41% 0.0053 -0.144)
OKLCHoklch(35.41% 0.144 272.1)
XYZxyz(5.9722, 4.0402, 22.6508)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E85 #857C25
analogous
#255E85 #252E85 #4C2585
triadic
#252E85 #85252E #2E8525
tetradic
#252E85 #85255E #857C25 #25854C
square
#252E85 #85255E #857C25 #25854C
split-complementary
#252E85 #854C25 #5E8525
monochromatic
#0A0D25 #181D55 #252E85 #323FB5 #5560D0

Accessibility & contrast

On white

11.61
#252E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252E85
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E85#FFFFFF#000000##FFFFFF
##252E851.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252e85;
/* rgb */ color: rgb(37, 46, 133);
/* oklch */ color: oklch(35.4% 0.144 272.1);
Tailwind
colors: {
  custom: {
    50: '#6e66a9',
    500: '#252e85',
    950: '#000000',
  },
}
SCSS
$custom: #252e85;
$custom-light: #6e66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#252e85",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 234.375,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35405,
    "c": 0.14412,
    "h": 272.1
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#252E85
secondary
#B4AB52
accent
#D248E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252E85

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

Preview Lab → · Contrast checker → · Palette generator →

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