#253F85#253F85

#253F85 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.122 H 265.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#253F85
RGBrgb(37, 63, 133)
HSLhsl(224, 56%, 33%)
HSVhsv(224, 72%, 52%)
CMYKcmyk(72.2%, 52.6%, 0%, 47.8%)
CIE-LABlab(28.49, 15.53, -42.27)
CIE-LCHlch(28.49, 45.03, 290.17°)
OKLaboklab(38.91% -0.0092 -0.1214)
OKLCHoklch(38.91% 0.122 265.7)
XYZxyz(6.7726, 5.6411, 22.9177)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F85 #856B25
analogous
#256F85 #253F85 #3B2585
triadic
#253F85 #85253F #3F8525
tetradic
#253F85 #85256F #856B25 #25853B
square
#253F85 #85256F #856B25 #25853B
split-complementary
#253F85 #853B25 #6F8525
monochromatic
#0A1225 #182855 #253F85 #3256B5 #5576D0

Accessibility & contrast

On white

9.87
#253F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#253F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F85
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F85#FFFFFF#000000##FFFFFF
##253F851.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144888
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253f85;
/* rgb */ color: rgb(37, 63, 133);
/* oklch */ color: oklch(38.9% 0.122 265.7);
Tailwind
colors: {
  custom: {
    50: '#6c73a9',
    500: '#253f85',
    950: '#000000',
  },
}
SCSS
$custom: #253f85;
$custom-light: #6c73a9;
$custom-dark: #000000;
JSON
{
  "hex": "#253f85",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 223.75,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.12177,
    "h": 265.7
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#253F85
secondary
#B49952
accent
#B748E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #253F85

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

Preview Lab → · Contrast checker → · Palette generator →

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