#252B85#252B85

#252B85 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.148 H 272.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#252B85
RGBrgb(37, 43, 133)
HSLhsl(236, 56%, 33%)
HSVhsv(236, 72%, 52%)
CMYKcmyk(72.2%, 67.7%, 0%, 47.8%)
CIE-LABlab(23.05, 29.21, -51.12)
CIE-LCHlch(23.05, 58.87, 299.74°)
OKLaboklab(34.85% 0.0075 -0.1477)
OKLCHoklch(34.85% 0.148 272.9)
XYZxyz(5.8590, 3.8140, 22.6131)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B85 #857F25
analogous
#255B85 #252B85 #4F2585
triadic
#252B85 #85252B #2B8525
tetradic
#252B85 #85255B #857F25 #25854F
square
#252B85 #85255B #857F25 #25854F
split-complementary
#252B85 #854F25 #5B8525
monochromatic
#0A0C25 #181C55 #252B85 #323AB5 #555CD0

Accessibility & contrast

On white

11.91
#252B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#252B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B85
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B85#FFFFFF#000000##FFFFFF
##252B851.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252b85;
/* rgb */ color: rgb(37, 43, 133);
/* oklch */ color: oklch(34.9% 0.148 272.9);
Tailwind
colors: {
  custom: {
    50: '#6e64a9',
    500: '#252b85',
    950: '#000000',
  },
}
SCSS
$custom: #252b85;
$custom-light: #6e64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#252b85",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 236.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34851,
    "c": 0.14786,
    "h": 272.9
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#252B85
secondary
#B4AE52
accent
#D648E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252B85

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

Preview Lab → · Contrast checker → · Palette generator →

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