#252B76#252B76

#252B76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.127 H 273.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#252B76
RGBrgb(37, 43, 118)
HSLhsl(236, 52%, 30%)
HSVhsv(236, 69%, 46%)
CMYKcmyk(68.6%, 63.6%, 0%, 53.7%)
CIE-LABlab(21.68, 23.60, -43.85)
CIE-LCHlch(21.68, 49.80, 298.29°)
OKLaboklab(33.43% 0.0084 -0.1264)
OKLCHoklch(33.43% 0.127 273.8)
XYZxyz(4.8958, 3.4286, 17.5398)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B76 #767025
analogous
#255376 #252B76 #482576
triadic
#252B76 #76252B #2B7625
tetradic
#252B76 #762553 #767025 #257648
square
#252B76 #762553 #767025 #257648
split-complementary
#252B76 #764825 #537625
monochromatic
#080919 #161A47 #252B76 #343CA5 #4E57C7

Accessibility & contrast

On white

12.46
#252B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#252B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B76
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B76#FFFFFF#000000##FFFFFF
##252B761.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252b76;
/* rgb */ color: rgb(37, 43, 118);
/* oklch */ color: oklch(33.4% 0.127 273.8);
Tailwind
colors: {
  custom: {
    50: '#6a649e',
    500: '#252b76',
    950: '#000000',
  },
}
SCSS
$custom: #252b76;
$custom-light: #6a649e;
$custom-dark: #000000;
JSON
{
  "hex": "#252b76",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 235.556,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33431,
    "c": 0.12664,
    "h": 273.8
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#252B76
secondary
#A9A24E
accent
#D14CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #252B76

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

Preview Lab → · Contrast checker → · Palette generator →

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