#253A82#253A82

#253A82 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.124 H 267.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#253A82
RGBrgb(37, 58, 130)
HSLhsl(226, 56%, 33%)
HSVhsv(226, 72%, 51%)
CMYKcmyk(71.5%, 55.4%, 0%, 49%)
CIE-LABlab(26.82, 17.82, -43.09)
CIE-LCHlch(26.82, 46.63, 292.46°)
OKLaboklab(37.57% -0.0049 -0.1239)
OKLCHoklch(37.57% 0.124 267.7)
XYZxyz(6.3039, 5.0305, 21.7535)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A82 #826D25
analogous
#256882 #253A82 #3F2582
triadic
#253A82 #82253A #3A8225
tetradic
#253A82 #822568 #826D25 #25823F
square
#253A82 #822568 #826D25 #25823F
split-complementary
#253A82 #823F25 #688225
monochromatic
#0A0F23 #172552 #253A82 #334FB2 #536FCE

Accessibility & contrast

On white

10.47
#253A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#253A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A82
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A82#FFFFFF#000000##FFFFFF
##253A821.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054485
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253a82;
/* rgb */ color: rgb(37, 58, 130);
/* oklch */ color: oklch(37.6% 0.124 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c6fa7',
    500: '#253a82',
    950: '#000000',
  },
}
SCSS
$custom: #253a82;
$custom-light: #6c6fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#253a82",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 226.452,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37574,
    "c": 0.12403,
    "h": 267.7
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#253A82
secondary
#B29C50
accent
#BD49DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #253A82

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

Preview Lab → · Contrast checker → · Palette generator →

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