#252E9F#252E9F

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

Color values

HEX#252E9F
RGBrgb(37, 46, 159)
HSLhsl(236, 62%, 38%)
HSVhsv(236, 77%, 62%)
CMYKcmyk(76.7%, 71.1%, 0%, 37.6%)
CIE-LABlab(26.30, 36.75, -61.83)
CIE-LCHlch(26.30, 71.92, 300.73°)
OKLaboklab(37.98% 0.0028 -0.179)
OKLCHoklch(37.98% 0.179 270.9)
XYZxyz(7.9958, 4.8496, 33.3088)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E9F #9F9625
analogous
#256B9F #252E9F #59259F
triadic
#252E9F #9F252E #2E9F25
tetradic
#252E9F #9F256B #9F9625 #259F59
square
#252E9F #9F256B #9F9625 #259F59
split-complementary
#252E9F #9F5925 #6B9F25
monochromatic
#0E113C #19206D #252E9F #323ECF #646CDB

Accessibility & contrast

On white

10.66
#252E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#252E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E9F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E9F#FFFFFF#000000##FFFFFF
##252E9F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #252e9f;
/* rgb */ color: rgb(37, 46, 159);
/* oklch */ color: oklch(38.0% 0.179 270.9);
Tailwind
colors: {
  custom: {
    50: '#7467bc',
    500: '#252e9f',
    950: '#000000',
  },
}
SCSS
$custom: #252e9f;
$custom-light: #7467bc;
$custom-dark: #000000;
JSON
{
  "hex": "#252e9f",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 235.574,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37982,
    "c": 0.17898,
    "h": 270.9
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

primary
#252E9F
secondary
#C0B95F
accent
#D942E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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