#252A69#252A69

#252A69 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.109 H 275.0°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#252A69
RGBrgb(37, 42, 105)
HSLhsl(236, 48%, 28%)
HSVhsv(236, 65%, 41%)
CMYKcmyk(64.8%, 60%, 0%, 58.8%)
CIE-LABlab(20.32, 19.38, -37.69)
CIE-LCHlch(20.32, 42.38, 297.21°)
OKLaboklab(32.07% 0.0095 -0.1083)
OKLCHoklch(32.07% 0.109 275)
XYZxyz(4.1399, 3.0688, 13.7360)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A69 #696425
analogous
#254C69 #252A69 #422569
triadic
#252A69 #69252A #2A6925
tetradic
#252A69 #69254C #696425 #256942
square
#252A69 #69254C #696425 #256942
split-complementary
#252A69 #694225 #4C6925
monochromatic
#080917 #15183C #252A69 #353C96 #4952BF

Accessibility & contrast

On white

13.01
#252A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#252A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A69
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A69#FFFFFF#000000##FFFFFF
##252A691.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252a69;
/* rgb */ color: rgb(37, 42, 105);
/* oklch */ color: oklch(32.1% 0.109 275.0);
Tailwind
colors: {
  custom: {
    50: '#686394',
    500: '#252a69',
    950: '#000000',
  },
}
SCSS
$custom: #252a69;
$custom-light: #686394;
$custom-dark: #000000;
JSON
{
  "hex": "#252a69",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 235.588,
    "s": 47.887,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32074,
    "c": 0.10868,
    "h": 275
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#252A69
secondary
#9C964E
accent
#CE50D7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #252A69

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

Preview Lab → · Contrast checker → · Palette generator →

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