#252E82#252E82

#252E82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.140 H 272.2°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#252E82
RGBrgb(37, 46, 130)
HSLhsl(234, 56%, 33%)
HSVhsv(234, 72%, 51%)
CMYKcmyk(71.5%, 64.6%, 0%, 49%)
CIE-LABlab(23.53, 26.08, -48.44)
CIE-LCHlch(23.53, 55.01, 298.30°)
OKLaboklab(35.12% 0.0054 -0.1398)
OKLCHoklch(35.12% 0.14 272.2)
XYZxyz(5.7679, 3.9585, 21.5749)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E82 #827925
analogous
#255C82 #252E82 #4B2582
triadic
#252E82 #82252E #2E8225
tetradic
#252E82 #82255C #827925 #25824B
square
#252E82 #82255C #827925 #25824B
split-complementary
#252E82 #824B25 #5C8225
monochromatic
#0A0C23 #171D52 #252E82 #333FB2 #535FCE

Accessibility & contrast

On white

11.72
#252E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#252E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E82
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E82#FFFFFF#000000##FFFFFF
##252E821.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252e82;
/* rgb */ color: rgb(37, 46, 130);
/* oklch */ color: oklch(35.1% 0.140 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d66a7',
    500: '#252e82',
    950: '#000000',
  },
}
SCSS
$custom: #252e82;
$custom-light: #6d66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#252e82",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 234.194,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35122,
    "c": 0.13991,
    "h": 272.2
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#252E82
secondary
#B2A950
accent
#D049DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252E82

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

Preview Lab → · Contrast checker → · Palette generator →

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