#253B7A#253B7A

#253B7A is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.2% C 0.111 H 266.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#253B7A
RGBrgb(37, 59, 122)
HSLhsl(224, 53%, 31%)
HSVhsv(224, 70%, 48%)
CMYKcmyk(69.7%, 51.6%, 0%, 52.2%)
CIE-LABlab(26.52, 14.00, -38.55)
CIE-LCHlch(26.52, 41.01, 289.96°)
OKLaboklab(37.16% -0.0067 -0.1105)
OKLCHoklch(37.16% 0.111 266.5)
XYZxyz(5.8385, 4.9258, 19.0517)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B7A #7A6425
analogous
#25657A #253B7A #39257A
triadic
#253B7A #7A253B #3B7A25
tetradic
#253B7A #7A2565 #7A6425 #257A39
square
#253B7A #7A2565 #7A6425 #257A39
split-complementary
#253B7A #7A3925 #657A25
monochromatic
#090E1C #17244B #253B7A #3352A9 #506FCA

Accessibility & contrast

On white

10.58
#253B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#253B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B7A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B7A#FFFFFF#000000##FFFFFF
##253B7A1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437C
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253b7a;
/* rgb */ color: rgb(37, 59, 122);
/* oklch */ color: oklch(37.2% 0.111 266.5);
Tailwind
colors: {
  custom: {
    50: '#6a70a1',
    500: '#253b7a',
    950: '#000000',
  },
}
SCSS
$custom: #253b7a;
$custom-light: #6a70a1;
$custom-dark: #000000;
JSON
{
  "hex": "#253b7a",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 122
  },
  "hsl": {
    "h": 224.471,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37159,
    "c": 0.11075,
    "h": 266.5
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#253B7A
secondary
#AC944E
accent
#B74BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #253B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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