#253BA5#253BA5

#253BA5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.172 H 268.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#253BA5
RGBrgb(37, 59, 165)
HSLhsl(230, 63%, 40%)
HSVhsv(230, 78%, 65%)
CMYKcmyk(77.6%, 64.2%, 0%, 35.3%)
CIE-LABlab(30.00, 30.59, -59.38)
CIE-LCHlch(30.00, 66.80, 297.25°)
OKLaboklab(40.85% -0.005 -0.1718)
OKLCHoklch(40.85% 0.172 268.3)
XYZxyz(9.1161, 6.2368, 36.3134)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253BA5 #A58F25
analogous
#257BA5 #253BA5 #4F25A5
triadic
#253BA5 #A5253B #3BA525
tetradic
#253BA5 #A5257B #A58F25 #25A54F
square
#253BA5 #A5257B #A58F25 #25A54F
split-complementary
#253BA5 #A54F25 #7BA525
monochromatic
#0F1741 #1A2973 #253BA5 #3550D2 #677CDD

Accessibility & contrast

On white

9.34
#253BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#253BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253BA5
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253BA5#FFFFFF#000000##FFFFFF
##253BA51.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #253ba5;
/* rgb */ color: rgb(37, 59, 165);
/* oklch */ color: oklch(40.9% 0.172 268.3);
Tailwind
colors: {
  custom: {
    50: '#7570c1',
    500: '#253ba5',
    950: '#000000',
  },
}
SCSS
$custom: #253ba5;
$custom-light: #7570c1;
$custom-dark: #000000;
JSON
{
  "hex": "#253ba5",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 229.688,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40853,
    "c": 0.17182,
    "h": 268.3
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#253BA5
secondary
#C3B263
accent
#CA41E6
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #253BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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