#253F82#253F82

#253F82 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.117 H 265.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#253F82
RGBrgb(37, 63, 130)
HSLhsl(223, 56%, 33%)
HSVhsv(223, 72%, 51%)
CMYKcmyk(71.5%, 51.5%, 0%, 49%)
CIE-LABlab(28.27, 14.35, -40.75)
CIE-LCHlch(28.27, 43.20, 289.41°)
OKLaboklab(38.67% -0.0096 -0.1169)
OKLCHoklch(38.67% 0.117 265.3)
XYZxyz(6.5683, 5.5594, 21.8417)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F82 #826825
analogous
#256D82 #253F82 #392582
triadic
#253F82 #82253F #3F8225
tetradic
#253F82 #82256D #826825 #258239
square
#253F82 #82256D #826825 #258239
split-complementary
#253F82 #823925 #6D8225
monochromatic
#0A1123 #172852 #253F82 #3356B2 #5376CE

Accessibility & contrast

On white

9.94
#253F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#253F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F82
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F82#FFFFFF#000000##FFFFFF
##253F821.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184784
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253f82;
/* rgb */ color: rgb(37, 63, 130);
/* oklch */ color: oklch(38.7% 0.117 265.3);
Tailwind
colors: {
  custom: {
    50: '#6c73a7',
    500: '#253f82',
    950: '#000000',
  },
}
SCSS
$custom: #253f82;
$custom-light: #6c73a7;
$custom-dark: #000000;
JSON
{
  "hex": "#253f82",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 130
  },
  "hsl": {
    "h": 223.226,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38674,
    "c": 0.11734,
    "h": 265.3
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#253F82
secondary
#B29750
accent
#B549DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #253F82

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

Preview Lab → · Contrast checker → · Palette generator →

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