#253BB2#253BB2

#253BB2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.189 H 268.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#253BB2
RGBrgb(37, 59, 178)
HSLhsl(231, 66%, 42%)
HSVhsv(231, 79%, 70%)
CMYKcmyk(79.2%, 66.9%, 0%, 30.2%)
CIE-LABlab(31.19, 35.42, -65.21)
CIE-LCHlch(31.19, 74.21, 298.51°)
OKLaboklab(42.09% -0.0056 -0.1888)
OKLCHoklch(42.09% 0.189 268.3)
XYZxyz(10.3600, 6.7344, 42.8647)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253BB2 #B29C25
analogous
#2582B2 #253BB2 #5525B2
triadic
#253BB2 #B2253B #3BB225
tetradic
#253BB2 #B22582 #B29C25 #25B255
square
#253BB2 #B22582 #B29C25 #25B255
split-complementary
#253BB2 #B25525 #82B225
monochromatic
#10194D #1A2A7F #253BB2 #3D55D7 #7082E1

Accessibility & contrast

On white

8.95
#253BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#253BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253BB2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253BB2#FFFFFF#000000##FFFFFF
##253BB21.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253bb2;
/* rgb */ color: rgb(37, 59, 178);
/* oklch */ color: oklch(42.1% 0.189 268.3);
Tailwind
colors: {
  custom: {
    50: '#7871ca',
    500: '#253bb2',
    950: '#000000',
  },
}
SCSS
$custom: #253bb2;
$custom-light: #7871ca;
$custom-dark: #000000;
JSON
{
  "hex": "#253bb2",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 230.638,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.18888,
    "h": 268.3
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#253BB2
secondary
#C8B96B
accent
#CE3FE9
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #253BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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