#253A71#253A71

#253A71 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.098 H 266.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#253A71
RGBrgb(37, 58, 113)
HSLhsl(223, 51%, 29%)
HSVhsv(223, 67%, 44%)
CMYKcmyk(67.3%, 48.7%, 0%, 55.7%)
CIE-LABlab(25.60, 11.19, -34.33)
CIE-LCHlch(25.60, 36.11, 288.05°)
OKLaboklab(36.25% -0.0069 -0.0982)
OKLCHoklch(36.25% 0.098 266)
XYZxyz(5.2556, 4.6112, 16.2327)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A71 #715C25
analogous
#256071 #253A71 #362571
triadic
#253A71 #71253A #3A7125
tetradic
#253A71 #712560 #715C25 #257136
square
#253A71 #712560 #715C25 #257136
split-complementary
#253A71 #713625 #607125
monochromatic
#080C17 #162243 #253A71 #34529F #4C6DC4

Accessibility & contrast

On white

10.92
#253A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#253A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A71
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A71#FFFFFF#000000##FFFFFF
##253A711.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#113970
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #253a71;
/* rgb */ color: rgb(37, 58, 113);
/* oklch */ color: oklch(36.3% 0.098 266.0);
Tailwind
colors: {
  custom: {
    50: '#686f9a',
    500: '#253a71',
    950: '#000000',
  },
}
SCSS
$custom: #253a71;
$custom-light: #686f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#253a71",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 223.421,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36252,
    "c": 0.09841,
    "h": 266
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#253A71
secondary
#A48C4E
accent
#B34EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253A71

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

Preview Lab → · Contrast checker → · Palette generator →

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