#252B72#252B72

#252B72 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.121 H 274.1°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#252B72
RGBrgb(37, 43, 114)
HSLhsl(235, 51%, 30%)
HSVhsv(235, 68%, 45%)
CMYKcmyk(67.5%, 62.3%, 0%, 55.3%)
CIE-LABlab(21.34, 22.09, -41.85)
CIE-LCHlch(21.34, 47.32, 297.83°)
OKLaboklab(33.07% 0.0085 -0.1205)
OKLCHoklch(33.07% 0.121 274.1)
XYZxyz(4.6631, 3.3356, 16.3144)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B72 #726C25
analogous
#255172 #252B72 #462572
triadic
#252B72 #72252B #2B7225
tetradic
#252B72 #722551 #726C25 #257246
square
#252B72 #722551 #726C25 #257246
split-complementary
#252B72 #724625 #517225
monochromatic
#070917 #161A44 #252B72 #343CA0 #4C56C5

Accessibility & contrast

On white

12.60
#252B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#252B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B72
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B72#FFFFFF#000000##FFFFFF
##252B721.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252b72;
/* rgb */ color: rgb(37, 43, 114);
/* oklch */ color: oklch(33.1% 0.121 274.1);
Tailwind
colors: {
  custom: {
    50: '#6a649b',
    500: '#252b72',
    950: '#000000',
  },
}
SCSS
$custom: #252b72;
$custom-light: #6a649b;
$custom-dark: #000000;
JSON
{
  "hex": "#252b72",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 235.325,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33069,
    "c": 0.12077,
    "h": 274.1
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#252B72
secondary
#A59E4E
accent
#CF4DDA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #252B72

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

Preview Lab → · Contrast checker → · Palette generator →

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