#253BA8#253BA8

#253BA8 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.176 H 268.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#253BA8
RGBrgb(37, 59, 168)
HSLhsl(230, 64%, 40%)
HSVhsv(230, 78%, 66%)
CMYKcmyk(78%, 64.9%, 0%, 34.1%)
CIE-LABlab(30.27, 31.71, -60.74)
CIE-LCHlch(30.27, 68.52, 297.57°)
OKLaboklab(41.14% -0.0051 -0.1757)
OKLCHoklch(41.14% 0.176 268.3)
XYZxyz(9.3923, 6.3473, 37.7683)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253BA8 #A89225
analogous
#257CA8 #253BA8 #5125A8
triadic
#253BA8 #A8253B #3BA825
tetradic
#253BA8 #A8257C #A89225 #25A851
square
#253BA8 #A8257C #A89225 #25A851
split-complementary
#253BA8 #A85125 #7CA825
monochromatic
#0F1844 #1A2976 #253BA8 #3751D3 #697DDE

Accessibility & contrast

On white

9.25
#253BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#253BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253BA8
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253BA8#FFFFFF#000000##FFFFFF
##253BA81.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #253ba8;
/* rgb */ color: rgb(37, 59, 168);
/* oklch */ color: oklch(41.1% 0.176 268.3);
Tailwind
colors: {
  custom: {
    50: '#7571c3',
    500: '#253ba8',
    950: '#000000',
  },
}
SCSS
$custom: #253ba8;
$custom-light: #7571c3;
$custom-dark: #000000;
JSON
{
  "hex": "#253ba8",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 229.924,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.17581,
    "h": 268.3
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#253BA8
secondary
#C4B465
accent
#CB41E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #253BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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