#253C83#253C83

#253C83 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.123 H 266.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#253C83
RGBrgb(37, 60, 131)
HSLhsl(225, 56%, 33%)
HSVhsv(225, 72%, 51%)
CMYKcmyk(71.8%, 54.2%, 0%, 48.6%)
CIE-LABlab(27.47, 16.82, -42.66)
CIE-LCHlch(27.47, 45.86, 291.52°)
OKLaboklab(38.09% -0.0066 -0.1226)
OKLCHoklch(38.09% 0.123 266.9)
XYZxyz(6.4741, 5.2631, 22.1430)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C83 #836C25
analogous
#256B83 #253C83 #3D2583
triadic
#253C83 #83253C #3C8325
tetradic
#253C83 #83256B #836C25 #25833D
square
#253C83 #83256B #836C25 #25833D
split-complementary
#253C83 #833D25 #6B8325
monochromatic
#0A1024 #182653 #253C83 #3252B3 #5472CF

Accessibility & contrast

On white

10.23
#253C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#253C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C83
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C83#FFFFFF#000000##FFFFFF
##253C831.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4586
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253c83;
/* rgb */ color: rgb(37, 60, 131);
/* oklch */ color: oklch(38.1% 0.123 266.9);
Tailwind
colors: {
  custom: {
    50: '#6c71a8',
    500: '#253c83',
    950: '#000000',
  },
}
SCSS
$custom: #253c83;
$custom-light: #6c71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#253c83",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 225.319,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38089,
    "c": 0.12282,
    "h": 266.9
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#253C83
secondary
#B39B51
accent
#BA49DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #253C83

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

Preview Lab → · Contrast checker → · Palette generator →

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