#252E75#252E75

#252E75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.121 H 272.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#252E75
RGBrgb(37, 46, 117)
HSLhsl(233, 52%, 30%)
HSVhsv(233, 68%, 46%)
CMYKcmyk(68.4%, 60.7%, 0%, 54.1%)
CIE-LABlab(22.41, 21.15, -42.02)
CIE-LCHlch(22.41, 47.05, 296.71°)
OKLaboklab(33.94% 0.0057 -0.121)
OKLCHoklch(33.94% 0.121 272.7)
XYZxyz(4.9498, 3.6312, 17.2662)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E75 #756C25
analogous
#255675 #252E75 #442575
triadic
#252E75 #75252E #2E7525
tetradic
#252E75 #752556 #756C25 #257544
square
#252E75 #752556 #756C25 #257544
split-complementary
#252E75 #754425 #567525
monochromatic
#080918 #161C47 #252E75 #3440A3 #4E5BC7

Accessibility & contrast

On white

12.16
#252E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#252E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E75
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E75#FFFFFF#000000##FFFFFF
##252E751.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252e75;
/* rgb */ color: rgb(37, 46, 117);
/* oklch */ color: oklch(33.9% 0.121 272.7);
Tailwind
colors: {
  custom: {
    50: '#6a669d',
    500: '#252e75',
    950: '#000000',
  },
}
SCSS
$custom: #252e75;
$custom-light: #6a669d;
$custom-dark: #000000;
JSON
{
  "hex": "#252e75",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 233.25,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33943,
    "c": 0.12109,
    "h": 272.7
  },
  "luminance": 0.03632
}

Semantic roles & 50–950 ramp

primary
#252E75
secondary
#A89E4E
accent
#CB4CDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #252E75

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

Preview Lab → · Contrast checker → · Palette generator →

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