#253AB2#253AB2

#253AB2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.190 H 268.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#253AB2
RGBrgb(37, 58, 178)
HSLhsl(231, 66%, 42%)
HSVhsv(231, 79%, 70%)
CMYKcmyk(79.2%, 67.4%, 0%, 30.2%)
CIE-LABlab(30.96, 36.06, -65.60)
CIE-LCHlch(30.96, 74.86, 298.79°)
OKLaboklab(41.92% -0.0051 -0.1899)
OKLCHoklch(41.92% 0.19 268.5)
XYZxyz(10.3091, 6.6326, 42.8477)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253AB2 #B29D25
analogous
#2580B2 #253AB2 #5725B2
triadic
#253AB2 #B2253A #3AB225
tetradic
#253AB2 #B22580 #B29D25 #25B257
square
#253AB2 #B22580 #B29D25 #25B257
split-complementary
#253AB2 #B25725 #80B225
monochromatic
#10194D #1A297F #253AB2 #3D54D7 #7081E1

Accessibility & contrast

On white

9.03
#253AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#253AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253AB2
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253AB2#FFFFFF#000000##FFFFFF
##253AB21.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #253ab2;
/* rgb */ color: rgb(37, 58, 178);
/* oklch */ color: oklch(41.9% 0.190 268.5);
Tailwind
colors: {
  custom: {
    50: '#7870ca',
    500: '#253ab2',
    950: '#000000',
  },
}
SCSS
$custom: #253ab2;
$custom-light: #7870ca;
$custom-dark: #000000;
JSON
{
  "hex": "#253ab2",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 231.064,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.19002,
    "h": 268.5
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#253AB2
secondary
#C8BA6B
accent
#CF3FE9
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #253AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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