#253B7E#253B7E

#253B7E is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.5% C 0.117 H 267.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#253B7E
RGBrgb(37, 59, 126)
HSLhsl(225, 55%, 32%)
HSVhsv(225, 71%, 49%)
CMYKcmyk(70.6%, 53.2%, 0%, 50.6%)
CIE-LABlab(26.81, 15.56, -40.60)
CIE-LCHlch(26.81, 43.48, 290.97°)
OKLaboklab(37.47% -0.0062 -0.1166)
OKLCHoklch(37.47% 0.117 267)
XYZxyz(6.0915, 5.0270, 20.3839)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B7E #7E6825
analogous
#25677E #253B7E #3C257E
triadic
#253B7E #7E253B #3B7E25
tetradic
#253B7E #7E2567 #7E6825 #257E3C
square
#253B7E #7E2567 #7E6825 #257E3C
split-complementary
#253B7E #7E3C25 #677E25
monochromatic
#090F1F #17254F #253B7E #3351AD #5170CC

Accessibility & contrast

On white

10.47
#253B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#253B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B7E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B7E#FFFFFF#000000##FFFFFF
##253B7E1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124480
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253b7e;
/* rgb */ color: rgb(37, 59, 126);
/* oklch */ color: oklch(37.5% 0.117 267.0);
Tailwind
colors: {
  custom: {
    50: '#6b70a4',
    500: '#253b7e',
    950: '#000000',
  },
}
SCSS
$custom: #253b7e;
$custom-light: #6b70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#253b7e",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 225.169,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37471,
    "c": 0.11674,
    "h": 267
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#253B7E
secondary
#B0984F
accent
#B94ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253B7E

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

Preview Lab → · Contrast checker → · Palette generator →

#253B7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva