#253A79#253A79

#253A79 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.111 H 267.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#253A79
RGBrgb(37, 58, 121)
HSLhsl(225, 53%, 31%)
HSVhsv(225, 69%, 47%)
CMYKcmyk(69.4%, 52.1%, 0%, 52.5%)
CIE-LABlab(26.16, 14.30, -38.51)
CIE-LCHlch(26.16, 41.08, 290.38°)
OKLaboklab(36.86% -0.0058 -0.1104)
OKLCHoklch(36.86% 0.111 267)
XYZxyz(5.7260, 4.7994, 18.7101)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A79 #796425
analogous
#256479 #253A79 #3A2579
triadic
#253A79 #79253A #3A7925
tetradic
#253A79 #792564 #796425 #25793A
square
#253A79 #792564 #796425 #25793A
split-complementary
#253A79 #793A25 #647925
monochromatic
#080D1B #17244A #253A79 #3350A8 #4F6EC9

Accessibility & contrast

On white

10.71
#253A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#253A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A79
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A79#FFFFFF#000000##FFFFFF
##253A791.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253a79;
/* rgb */ color: rgb(37, 58, 121);
/* oklch */ color: oklch(36.9% 0.111 267.0);
Tailwind
colors: {
  custom: {
    50: '#6a6fa0',
    500: '#253a79',
    950: '#000000',
  },
}
SCSS
$custom: #253a79;
$custom-light: #6a6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#253a79",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 225,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36857,
    "c": 0.1106,
    "h": 267
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#253A79
secondary
#AB944E
accent
#B84BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #253A79

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

Preview Lab → · Contrast checker → · Palette generator →

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