#252B70#252B70

#252B70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.118 H 274.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#252B70
RGBrgb(37, 43, 112)
HSLhsl(235, 50%, 29%)
HSVhsv(235, 67%, 44%)
CMYKcmyk(67%, 61.6%, 0%, 56.1%)
CIE-LABlab(21.17, 21.33, -40.83)
CIE-LCHlch(21.17, 46.07, 297.58°)
OKLaboklab(32.89% 0.0086 -0.1175)
OKLCHoklch(32.89% 0.118 274.2)
XYZxyz(4.5505, 3.2905, 15.7214)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B70 #706A25
analogous
#255170 #252B70 #452570
triadic
#252B70 #70252B #2B7025
tetradic
#252B70 #702551 #706A25 #257045
square
#252B70 #702551 #706A25 #257045
split-complementary
#252B70 #704525 #517025
monochromatic
#080917 #161942 #252B70 #343D9E #4C55C4

Accessibility & contrast

On white

12.66
#252B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#252B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B70
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B70#FFFFFF#000000##FFFFFF
##252B701.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252b70;
/* rgb */ color: rgb(37, 43, 112);
/* oklch */ color: oklch(32.9% 0.118 274.2);
Tailwind
colors: {
  custom: {
    50: '#69649a',
    500: '#252b70',
    950: '#000000',
  },
}
SCSS
$custom: #252b70;
$custom-light: #69649a;
$custom-dark: #000000;
JSON
{
  "hex": "#252b70",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 235.2,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32891,
    "c": 0.11781,
    "h": 274.2
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#252B70
secondary
#A39C4E
accent
#CF4EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #252B70

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

Preview Lab → · Contrast checker → · Palette generator →

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