#253B9C#253B9C

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

Color values

HEX#253B9C
RGBrgb(37, 59, 156)
HSLhsl(229, 62%, 38%)
HSVhsv(229, 76%, 61%)
CMYKcmyk(76.3%, 62.2%, 0%, 38.8%)
CIE-LABlab(29.21, 27.18, -55.23)
CIE-LCHlch(29.21, 61.55, 296.20°)
OKLaboklab(40.02% -0.0048 -0.1596)
OKLCHoklch(40.02% 0.16 268.3)
XYZxyz(8.3256, 5.9206, 32.1501)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B9C #9C8625
analogous
#25769C #253B9C #4B259C
triadic
#253B9C #9C253B #3B9C25
tetradic
#253B9C #9C2576 #9C8625 #259C4B
square
#253B9C #9C2576 #9C8625 #259C4B
split-complementary
#253B9C #9C4B25 #769C25
monochromatic
#0E1639 #19286B #253B9C #314ECD #6278DA

Accessibility & contrast

On white

9.61
#253B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253B9C
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B9C#FFFFFF#000000##FFFFFF
##253B9C1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253b9c;
/* rgb */ color: rgb(37, 59, 156);
/* oklch */ color: oklch(40.0% 0.160 268.3);
Tailwind
colors: {
  custom: {
    50: '#7270ba',
    500: '#253b9c',
    950: '#000000',
  },
}
SCSS
$custom: #253b9c;
$custom-light: #7270ba;
$custom-dark: #000000;
JSON
{
  "hex": "#253b9c",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 156
  },
  "hsl": {
    "h": 228.908,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.15965,
    "h": 268.3
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#253B9C
secondary
#BFAD5E
accent
#C743E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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