#252A83#252A83

#252A83 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.146 H 273.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#252A83
RGBrgb(37, 42, 131)
HSLhsl(237, 56%, 33%)
HSVhsv(237, 72%, 51%)
CMYKcmyk(71.8%, 67.9%, 0%, 48.6%)
CIE-LABlab(22.61, 29.13, -50.58)
CIE-LCHlch(22.61, 58.37, 299.94°)
OKLaboklab(34.47% 0.0084 -0.1461)
OKLCHoklch(34.47% 0.146 273.3)
XYZxyz(5.6863, 3.6874, 21.8804)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A83 #837E25
analogous
#255983 #252A83 #4F2583
triadic
#252A83 #83252A #2A8325
tetradic
#252A83 #832559 #837E25 #25834F
square
#252A83 #832559 #837E25 #25834F
split-complementary
#252A83 #834F25 #598325
monochromatic
#0A0B24 #181B53 #252A83 #3239B3 #545ACF

Accessibility & contrast

On white

12.09
#252A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#252A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A83
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A83#FFFFFF#000000##FFFFFF
##252A831.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252a83;
/* rgb */ color: rgb(37, 42, 131);
/* oklch */ color: oklch(34.5% 0.146 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e64a8',
    500: '#252a83',
    950: '#000000',
  },
}
SCSS
$custom: #252a83;
$custom-light: #6e64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#252a83",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 236.809,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34474,
    "c": 0.14634,
    "h": 273.3
  },
  "luminance": 0.03688
}

Semantic roles & 50–950 ramp

primary
#252A83
secondary
#B3AE51
accent
#D749DF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252A83

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

Preview Lab → · Contrast checker → · Palette generator →

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