#253B9B#253B9B

#253B9B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.158 H 268.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#253B9B
RGBrgb(37, 59, 155)
HSLhsl(229, 61%, 38%)
HSVhsv(229, 76%, 61%)
CMYKcmyk(76.1%, 61.9%, 0%, 39.2%)
CIE-LABlab(29.13, 26.80, -54.76)
CIE-LCHlch(29.13, 60.97, 296.08°)
OKLaboklab(39.93% -0.0048 -0.1582)
OKLCHoklch(39.93% 0.158 268.3)
XYZxyz(8.2413, 5.8869, 31.7059)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B9B #9B8525
analogous
#25769B #253B9B #4A259B
triadic
#253B9B #9B253B #3B9B25
tetradic
#253B9B #9B2576 #9B8525 #259B4A
square
#253B9B #9B2576 #9B8525 #259B4A
split-complementary
#253B9B #9B4A25 #769B25
monochromatic
#0D1538 #19286A #253B9B #314ECC #6178D9

Accessibility & contrast

On white

9.64
#253B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#253B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B9B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B9B#FFFFFF#000000##FFFFFF
##253B9B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253b9b;
/* rgb */ color: rgb(37, 59, 155);
/* oklch */ color: oklch(39.9% 0.158 268.3);
Tailwind
colors: {
  custom: {
    50: '#7270b9',
    500: '#253b9b',
    950: '#000000',
  },
}
SCSS
$custom: #253b9b;
$custom-light: #7270b9;
$custom-dark: #000000;
JSON
{
  "hex": "#253b9b",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 155
  },
  "hsl": {
    "h": 228.814,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39933,
    "c": 0.15828,
    "h": 268.3
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#253B9B
secondary
#BFAC5D
accent
#C643E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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