#253B74#253B74

#253B74 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.102 H 265.7°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#253B74
RGBrgb(37, 59, 116)
HSLhsl(223, 52%, 30%)
HSVhsv(223, 68%, 45%)
CMYKcmyk(68.1%, 49.1%, 0%, 54.5%)
CIE-LABlab(26.10, 11.66, -35.43)
CIE-LCHlch(26.10, 37.29, 288.22°)
OKLaboklab(36.71% -0.0075 -0.1014)
OKLCHoklch(36.71% 0.102 265.7)
XYZxyz(5.4782, 4.7817, 17.1539)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B74 #745E25
analogous
#256374 #253B74 #362574
triadic
#253B74 #74253B #3B7425
tetradic
#253B74 #742563 #745E25 #257436
square
#253B74 #742563 #745E25 #257436
split-complementary
#253B74 #743625 #637425
monochromatic
#070C17 #162346 #253B74 #3453A2 #4D6FC6

Accessibility & contrast

On white

10.73
#253B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253B74
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B74#FFFFFF#000000##FFFFFF
##253B741.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4276
Deuteranopia (green-blind)
#0F3A73
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253b74;
/* rgb */ color: rgb(37, 59, 116);
/* oklch */ color: oklch(36.7% 0.102 265.7);
Tailwind
colors: {
  custom: {
    50: '#69709c',
    500: '#253b74',
    950: '#000000',
  },
}
SCSS
$custom: #253b74;
$custom-light: #69709c;
$custom-dark: #000000;
JSON
{
  "hex": "#253b74",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 116
  },
  "hsl": {
    "h": 223.291,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.36705,
    "c": 0.10164,
    "h": 265.7
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#253B74
secondary
#A78E4E
accent
#B34DDB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253B74

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

Preview Lab → · Contrast checker → · Palette generator →

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