#252F9A#252F9A

#252F9A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.171 H 271.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#252F9A
RGBrgb(37, 47, 154)
HSLhsl(235, 61%, 37%)
HSVhsv(235, 76%, 60%)
CMYKcmyk(76%, 69.5%, 0%, 39.6%)
CIE-LABlab(26.04, 34.32, -59.21)
CIE-LCHlch(26.04, 68.44, 300.09°)
OKLaboklab(37.64% 0.0029 -0.1713)
OKLCHoklch(37.64% 0.171 271)
XYZxyz(7.6102, 4.7586, 31.0830)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F9A #9A9025
analogous
#25699A #252F9A #56259A
triadic
#252F9A #9A252F #2F9A25
tetradic
#252F9A #9A2569 #9A9025 #259A56
square
#252F9A #9A2569 #9A9025 #259A56
split-complementary
#252F9A #9A5625 #699A25
monochromatic
#0D1137 #192069 #252F9A #313ECB #606BD9

Accessibility & contrast

On white

10.76
#252F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#252F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F9A
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F9A#FFFFFF#000000##FFFFFF
##252F9A1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #252f9a;
/* rgb */ color: rgb(37, 47, 154);
/* oklch */ color: oklch(37.6% 0.171 271.0);
Tailwind
colors: {
  custom: {
    50: '#7368b9',
    500: '#252f9a',
    950: '#000000',
  },
}
SCSS
$custom: #252f9a;
$custom-light: #7368b9;
$custom-dark: #000000;
JSON
{
  "hex": "#252f9a",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 234.872,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37639,
    "c": 0.17135,
    "h": 271
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#252F9A
secondary
#BEB65D
accent
#D743E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #252F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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