#252EAF#252EAF

#252EAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.199 H 270.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#252EAF
RGBrgb(37, 46, 175)
HSLhsl(236, 65%, 42%)
HSVhsv(236, 79%, 69%)
CMYKcmyk(78.9%, 73.7%, 0%, 31.4%)
CIE-LABlab(27.96, 42.37, -68.75)
CIE-LCHlch(27.96, 80.76, 301.64°)
OKLaboklab(39.66% 0.0007 -0.1991)
OKLCHoklch(39.66% 0.199 270.2)
XYZxyz(9.4752, 5.4414, 41.1000)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252EAF #AFA625
analogous
#2573AF #252EAF #6125AF
triadic
#252EAF #AF252E #2EAF25
tetradic
#252EAF #AF2573 #AFA625 #25AF61
square
#252EAF #AF2573 #AFA625 #25AF61
split-complementary
#252EAF #AF6125 #73AF25
monochromatic
#10134A #1A217C #252EAF #3C46D6 #6E76E0

Accessibility & contrast

On white

10.06
#252EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#252EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252EAF
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252EAF#FFFFFF#000000##FFFFFF
##252EAF1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #252eaf;
/* rgb */ color: rgb(37, 46, 175);
/* oklch */ color: oklch(39.7% 0.199 270.2);
Tailwind
colors: {
  custom: {
    50: '#7868c8',
    500: '#252eaf',
    950: '#000000',
  },
}
SCSS
$custom: #252eaf;
$custom-light: #7868c8;
$custom-dark: #000000;
JSON
{
  "hex": "#252eaf",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 236.087,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39663,
    "c": 0.19913,
    "h": 270.2
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#252EAF
secondary
#C7C169
accent
#DD40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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