#252BAC#252BAC

#252BAC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.198 H 270.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#252BAC
RGBrgb(37, 43, 172)
HSLhsl(237, 65%, 41%)
HSVhsv(237, 78%, 67%)
CMYKcmyk(78.5%, 75%, 0%, 32.5%)
CIE-LABlab(27.01, 43.09, -68.51)
CIE-LCHlch(27.01, 80.93, 302.17°)
OKLaboklab(38.9% 0.0023 -0.1984)
OKLCHoklch(38.9% 0.198 270.7)
XYZxyz(9.0707, 5.0986, 39.5278)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252BAC #ACA625
analogous
#256EAC #252BAC #6225AC
triadic
#252BAC #AC252B #2BAC25
tetradic
#252BAC #AC256E #ACA625 #25AC62
square
#252BAC #AC256E #ACA625 #25AC62
split-complementary
#252BAC #AC6225 #6EAC25
monochromatic
#0F1247 #1A1E7A #252BAC #3A41D5 #6C71DF

Accessibility & contrast

On white

10.40
#252BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#252BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252BAC
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252BAC#FFFFFF#000000##FFFFFF
##252BAC1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #252bac;
/* rgb */ color: rgb(37, 43, 172);
/* oklch */ color: oklch(38.9% 0.198 270.7);
Tailwind
colors: {
  custom: {
    50: '#7866c6',
    500: '#252bac',
    950: '#000000',
  },
}
SCSS
$custom: #252bac;
$custom-light: #7866c6;
$custom-dark: #000000;
JSON
{
  "hex": "#252bac",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 237.333,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.19842,
    "h": 270.7
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#252BAC
secondary
#C6C167
accent
#E040E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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