#253CB2#253CB2

#253CB2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.188 H 268.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#253CB2
RGBrgb(37, 60, 178)
HSLhsl(230, 66%, 42%)
HSVhsv(230, 79%, 70%)
CMYKcmyk(79.2%, 66.3%, 0%, 30.2%)
CIE-LABlab(31.44, 34.78, -64.81)
CIE-LCHlch(31.44, 73.55, 298.22°)
OKLaboklab(42.27% -0.0061 -0.1876)
OKLCHoklch(42.27% 0.188 268.1)
XYZxyz(10.4119, 6.8382, 42.8820)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253CB2 #B29B25
analogous
#2582B2 #253CB2 #5525B2
triadic
#253CB2 #B2253C #3CB225
tetradic
#253CB2 #B22582 #B29B25 #25B255
square
#253CB2 #B22582 #B29B25 #25B255
split-complementary
#253CB2 #B25525 #82B225
monochromatic
#101A4D #1A2B7F #253CB2 #3D56D7 #7083E1

Accessibility & contrast

On white

8.87
#253CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#253CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253CB2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253CB2#FFFFFF#000000##FFFFFF
##253CB21.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #253cb2;
/* rgb */ color: rgb(37, 60, 178);
/* oklch */ color: oklch(42.3% 0.188 268.1);
Tailwind
colors: {
  custom: {
    50: '#7871ca',
    500: '#253cb2',
    950: '#000000',
  },
}
SCSS
$custom: #253cb2;
$custom-light: #7871ca;
$custom-dark: #000000;
JSON
{
  "hex": "#253cb2",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 230.213,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42268,
    "c": 0.18774,
    "h": 268.1
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#253CB2
secondary
#C8B96B
accent
#CD3FE9
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #253CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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