#252F85#252F85

#252F85 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.143 H 271.8°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#252F85
RGBrgb(37, 47, 133)
HSLhsl(234, 56%, 33%)
HSVhsv(234, 72%, 52%)
CMYKcmyk(72.2%, 64.7%, 0%, 47.8%)
CIE-LABlab(24.06, 26.54, -49.46)
CIE-LCHlch(24.06, 56.13, 298.22°)
OKLaboklab(35.59% 0.0045 -0.1428)
OKLCHoklch(35.59% 0.143 271.8)
XYZxyz(6.0117, 4.1192, 22.6640)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F85 #857B25
analogous
#255F85 #252F85 #4B2585
triadic
#252F85 #85252F #2F8525
tetradic
#252F85 #85255F #857B25 #25854B
square
#252F85 #85255F #857B25 #25854B
split-complementary
#252F85 #854B25 #5F8525
monochromatic
#0A0D25 #181E55 #252F85 #3240B5 #5562D0

Accessibility & contrast

On white

11.51
#252F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#252F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F85
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F85#FFFFFF#000000##FFFFFF
##252F851.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252f85;
/* rgb */ color: rgb(37, 47, 133);
/* oklch */ color: oklch(35.6% 0.143 271.8);
Tailwind
colors: {
  custom: {
    50: '#6e67a9',
    500: '#252f85',
    950: '#000000',
  },
}
SCSS
$custom: #252f85;
$custom-light: #6e67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#252f85",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 233.75,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35594,
    "c": 0.14285,
    "h": 271.8
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#252F85
secondary
#B4AA52
accent
#D048E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252F85

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

Preview Lab → · Contrast checker → · Palette generator →

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