#253AA8#253AA8

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

Color values

HEX#253AA8
RGBrgb(37, 58, 168)
HSLhsl(230, 64%, 40%)
HSVhsv(230, 78%, 66%)
CMYKcmyk(78%, 65.5%, 0%, 34.1%)
CIE-LABlab(30.02, 32.37, -61.15)
CIE-LCHlch(30.02, 69.19, 297.89°)
OKLaboklab(40.95% -0.0045 -0.1769)
OKLCHoklch(40.95% 0.177 268.5)
XYZxyz(9.3414, 6.2455, 37.7514)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253AA8 #A89325
analogous
#257BA8 #253AA8 #5225A8
triadic
#253AA8 #A8253A #3AA825
tetradic
#253AA8 #A8257B #A89325 #25A852
square
#253AA8 #A8257B #A89325 #25A852
split-complementary
#253AA8 #A85225 #7BA825
monochromatic
#0F1744 #1A2976 #253AA8 #3750D3 #697CDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##253AA8#FFFFFF#000000##FFFFFF
##253AA81.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)
#004DAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #253aa8;
/* rgb */ color: rgb(37, 58, 168);
/* oklch */ color: oklch(41.0% 0.177 268.5);
Tailwind
colors: {
  custom: {
    50: '#7570c3',
    500: '#253aa8',
    950: '#000000',
  },
}
SCSS
$custom: #253aa8;
$custom-light: #7570c3;
$custom-dark: #000000;
JSON
{
  "hex": "#253aa8",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 230.382,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.177,
    "h": 268.5
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#253AA8
secondary
#C4B565
accent
#CC41E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #253AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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