#253B82#253B82

#253B82 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.123 H 267.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#253B82
RGBrgb(37, 59, 130)
HSLhsl(226, 56%, 33%)
HSVhsv(226, 72%, 51%)
CMYKcmyk(71.5%, 54.6%, 0%, 49%)
CIE-LABlab(27.11, 17.12, -42.62)
CIE-LCHlch(27.11, 45.94, 291.89°)
OKLaboklab(37.79% -0.0058 -0.1225)
OKLCHoklch(37.79% 0.123 267.3)
XYZxyz(6.3548, 5.1323, 21.7705)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B82 #826C25
analogous
#256A82 #253B82 #3D2582
triadic
#253B82 #82253B #3B8225
tetradic
#253B82 #82256A #826C25 #25823D
square
#253B82 #82256A #826C25 #25823D
split-complementary
#253B82 #823D25 #6A8225
monochromatic
#0A1023 #172552 #253B82 #3351B2 #5370CE

Accessibility & contrast

On white

10.36
#253B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#253B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B82
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B82#FFFFFF#000000##FFFFFF
##253B821.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4485
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253b82;
/* rgb */ color: rgb(37, 59, 130);
/* oklch */ color: oklch(37.8% 0.123 267.3);
Tailwind
colors: {
  custom: {
    50: '#6c70a7',
    500: '#253b82',
    950: '#000000',
  },
}
SCSS
$custom: #253b82;
$custom-light: #6c70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#253b82",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 130
  },
  "hsl": {
    "h": 225.806,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3779,
    "c": 0.12268,
    "h": 267.3
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#253B82
secondary
#B29B50
accent
#BB49DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #253B82

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

Preview Lab → · Contrast checker → · Palette generator →

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