#253EB2#253EB2

#253EB2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.185 H 267.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#253EB2
RGBrgb(37, 62, 178)
HSLhsl(229, 66%, 42%)
HSVhsv(229, 79%, 70%)
CMYKcmyk(79.2%, 65.2%, 0%, 30.2%)
CIE-LABlab(31.92, 33.48, -64.01)
CIE-LCHlch(31.92, 72.24, 297.61°)
OKLaboklab(42.63% -0.0072 -0.1853)
OKLCHoklch(42.63% 0.185 267.8)
XYZxyz(10.5187, 7.0517, 42.9176)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253EB2 #B29925
analogous
#2584B2 #253EB2 #5325B2
triadic
#253EB2 #B2253E #3EB225
tetradic
#253EB2 #B22584 #B29925 #25B253
square
#253EB2 #B22584 #B29925 #25B253
split-complementary
#253EB2 #B25325 #84B225
monochromatic
#101B4D #1A2C7F #253EB2 #3D59D7 #7084E1

Accessibility & contrast

On white

8.71
#253EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#253EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253EB2
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253EB2#FFFFFF#000000##FFFFFF
##253EB21.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #253eb2;
/* rgb */ color: rgb(37, 62, 178);
/* oklch */ color: oklch(42.6% 0.185 267.8);
Tailwind
colors: {
  custom: {
    50: '#7873ca',
    500: '#253eb2',
    950: '#000000',
  },
}
SCSS
$custom: #253eb2;
$custom-light: #7873ca;
$custom-dark: #000000;
JSON
{
  "hex": "#253eb2",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 229.362,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.18542,
    "h": 267.8
  },
  "luminance": 0.07053
}

Semantic roles & 50–950 ramp

primary
#253EB2
secondary
#C8B86B
accent
#CB3FE9
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #253EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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