#252A6F#252A6F

#252A6F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.118 H 274.7°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#252A6F
RGBrgb(37, 42, 111)
HSLhsl(236, 50%, 29%)
HSVhsv(236, 67%, 44%)
CMYKcmyk(66.7%, 62.2%, 0%, 56.5%)
CIE-LABlab(20.81, 21.65, -40.77)
CIE-LCHlch(20.81, 46.16, 297.97°)
OKLaboklab(32.6% 0.0096 -0.1173)
OKLCHoklch(32.6% 0.118 274.7)
XYZxyz(4.4592, 3.1966, 15.4179)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A6F #6F6A25
analogous
#254F6F #252A6F #45256F
triadic
#252A6F #6F252A #2A6F25
tetradic
#252A6F #6F254F #6F6A25 #256F45
square
#252A6F #6F254F #6F6A25 #256F45
split-complementary
#252A6F #6F4525 #4F6F25
monochromatic
#080917 #161941 #252A6F #343B9D #4B53C3

Accessibility & contrast

On white

12.81
#252A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#252A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A6F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A6F#FFFFFF#000000##FFFFFF
##252A6F1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252a6f;
/* rgb */ color: rgb(37, 42, 111);
/* oklch */ color: oklch(32.6% 0.118 274.7);
Tailwind
colors: {
  custom: {
    50: '#696399',
    500: '#252a6f',
    950: '#000000',
  },
}
SCSS
$custom: #252a6f;
$custom-light: #696399;
$custom-dark: #000000;
JSON
{
  "hex": "#252a6f",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 235.946,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32599,
    "c": 0.11771,
    "h": 274.7
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#252A6F
secondary
#A29C4E
accent
#D04EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #252A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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