#252149#252149

#252149 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.072 H 285.2°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#252149
RGBrgb(37, 33, 73)
HSLhsl(246, 38%, 21%)
HSVhsv(246, 55%, 29%)
CMYKcmyk(49.3%, 54.8%, 0%, 71.4%)
CIE-LABlab(15.29, 14.02, -24.42)
CIE-LCHlch(15.29, 28.16, 299.87°)
OKLaboklab(27.53% 0.0188 -0.0693)
OKLCHoklch(27.53% 0.072 285.2)
XYZxyz(2.5091, 1.9620, 6.5485)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252149 #454921
analogous
#213149 #252149 #392149
triadic
#252149 #492521 #214925
tetradic
#252149 #492131 #454921 #214939
square
#252149 #492131 #454921 #214939
split-complementary
#252149 #493921 #314921
monochromatic
#0B0A15 #100E1F #252149 #3A3473 #50479D

Accessibility & contrast

On white

15.08
#252149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#252149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252149
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252149#FFFFFF#000000##FFFFFF
##2521491.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10274A
Deuteranopia (green-blind)
#0F2548
Tritanopia (blue-blind)
#1A2931
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #252149;
/* rgb */ color: rgb(37, 33, 73);
/* oklch */ color: oklch(27.5% 0.072 285.2);
Tailwind
colors: {
  custom: {
    50: '#625c7c',
    500: '#252149',
    950: '#000000',
  },
}
SCSS
$custom: #252149;
$custom-light: #625c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#252149",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 246,
    "s": 37.736,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27532,
    "c": 0.07182,
    "h": 285.2
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#252149
secondary
#787D49
accent
#CE5AC2
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#050409
muted
#79797B

Preview Lab

Preview with #252149

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

Preview Lab → · Contrast checker → · Palette generator →

#252149 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva