#252BA8#252BA8

#252BA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.193 H 270.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#252BA8
RGBrgb(37, 43, 168)
HSLhsl(237, 64%, 40%)
HSVhsv(237, 78%, 66%)
CMYKcmyk(78%, 74.4%, 0%, 34.1%)
CIE-LABlab(26.58, 41.72, -66.81)
CIE-LCHlch(26.58, 78.77, 301.98°)
OKLaboklab(38.46% 0.003 -0.1935)
OKLCHoklch(38.46% 0.193 270.9)
XYZxyz(8.6923, 4.9473, 37.5350)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252BA8 #A8A225
analogous
#256CA8 #252BA8 #6125A8
triadic
#252BA8 #A8252B #2BA825
tetradic
#252BA8 #A8256C #A8A225 #25A861
square
#252BA8 #A8256C #A8A225 #25A861
split-complementary
#252BA8 #A86125 #6CA825
monochromatic
#0F1144 #1A1E76 #252BA8 #373ED3 #696FDE

Accessibility & contrast

On white

10.55
#252BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#252BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252BA8
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252BA8#FFFFFF#000000##FFFFFF
##252BA81.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #252ba8;
/* rgb */ color: rgb(37, 43, 168);
/* oklch */ color: oklch(38.5% 0.193 270.9);
Tailwind
colors: {
  custom: {
    50: '#7766c3',
    500: '#252ba8',
    950: '#000000',
  },
}
SCSS
$custom: #252ba8;
$custom-light: #7766c3;
$custom-dark: #000000;
JSON
{
  "hex": "#252ba8",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 237.252,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38464,
    "c": 0.19349,
    "h": 270.9
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#252BA8
secondary
#C4C065
accent
#DF41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #252BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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