#252BAF#252BAF

#252BAF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.202 H 270.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#252BAF
RGBrgb(37, 43, 175)
HSLhsl(237, 65%, 42%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(78.9%, 75.4%, 0%, 31.4%)
CIE-LABlab(27.34, 44.11, -69.77)
CIE-LCHlch(27.34, 82.55, 302.30°)
OKLaboklab(39.22% 0.0018 -0.2021)
OKLCHoklch(39.22% 0.202 270.5)
XYZxyz(9.3621, 5.2152, 41.0623)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252BAF #AFA925
analogous
#2570AF #252BAF #6425AF
triadic
#252BAF #AF252B #2BAF25
tetradic
#252BAF #AF2570 #AFA925 #25AF64
square
#252BAF #AF2570 #AFA925 #25AF64
split-complementary
#252BAF #AF6425 #70AF25
monochromatic
#10124A #1A1F7C #252BAF #3C42D6 #6E73E0

Accessibility & contrast

On white

10.28
#252BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#252BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252BAF
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252BAF#FFFFFF#000000##FFFFFF
##252BAF1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #252baf;
/* rgb */ color: rgb(37, 43, 175);
/* oklch */ color: oklch(39.2% 0.202 270.5);
Tailwind
colors: {
  custom: {
    50: '#7966c8',
    500: '#252baf',
    950: '#000000',
  },
}
SCSS
$custom: #252baf;
$custom-light: #7966c8;
$custom-dark: #000000;
JSON
{
  "hex": "#252baf",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 237.391,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.20208,
    "h": 270.5
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#252BAF
secondary
#C7C369
accent
#E140E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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