#253B7B#253B7B

#253B7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.112 H 266.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#253B7B
RGBrgb(37, 59, 123)
HSLhsl(225, 54%, 31%)
HSVhsv(225, 70%, 48%)
CMYKcmyk(69.9%, 52%, 0%, 51.8%)
CIE-LABlab(26.59, 14.39, -39.06)
CIE-LCHlch(26.59, 41.63, 290.22°)
OKLaboklab(37.24% -0.0065 -0.1121)
OKLCHoklch(37.24% 0.112 266.7)
XYZxyz(5.9008, 4.9507, 19.3797)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B7B #7B6525
analogous
#25667B #253B7B #3A257B
triadic
#253B7B #7B253B #3B7B25
tetradic
#253B7B #7B2566 #7B6525 #257B3A
square
#253B7B #7B2566 #7B6525 #257B3A
split-complementary
#253B7B #7B3A25 #667B25
monochromatic
#090E1D #17244C #253B7B #3352AA #506FCA

Accessibility & contrast

On white

10.55
#253B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253B7B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B7B#FFFFFF#000000##FFFFFF
##253B7B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253b7b;
/* rgb */ color: rgb(37, 59, 123);
/* oklch */ color: oklch(37.2% 0.112 266.7);
Tailwind
colors: {
  custom: {
    50: '#6a70a2',
    500: '#253b7b',
    950: '#000000',
  },
}
SCSS
$custom: #253b7b;
$custom-light: #6a70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#253b7b",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 123
  },
  "hsl": {
    "h": 224.651,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37236,
    "c": 0.11226,
    "h": 266.7
  },
  "luminance": 0.04951
}

Semantic roles & 50–950 ramp

primary
#253B7B
secondary
#AD954F
accent
#B84BDD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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