#253B99#253B99

#253B99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.156 H 268.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#253B99
RGBrgb(37, 59, 153)
HSLhsl(229, 61%, 37%)
HSVhsv(229, 76%, 60%)
CMYKcmyk(75.8%, 61.4%, 0%, 40%)
CIE-LABlab(28.95, 26.03, -53.82)
CIE-LCHlch(28.95, 59.79, 295.81°)
OKLaboklab(39.75% -0.0048 -0.1554)
OKLCHoklch(39.75% 0.156 268.2)
XYZxyz(8.0747, 5.8203, 30.8287)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B99 #998325
analogous
#257599 #253B99 #492599
triadic
#253B99 #99253B #3B9925
tetradic
#253B99 #992575 #998325 #259949
square
#253B99 #992575 #998325 #259949
split-complementary
#253B99 #994925 #759925
monochromatic
#0D1536 #192868 #253B99 #314ECA #6077D9

Accessibility & contrast

On white

9.70
#253B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#253B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B99
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B99#FFFFFF#000000##FFFFFF
##253B991.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253b99;
/* rgb */ color: rgb(37, 59, 153);
/* oklch */ color: oklch(39.8% 0.156 268.2);
Tailwind
colors: {
  custom: {
    50: '#7270b8',
    500: '#253b99',
    950: '#000000',
  },
}
SCSS
$custom: #253b99;
$custom-light: #7270b8;
$custom-dark: #000000;
JSON
{
  "hex": "#253b99",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 228.621,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39754,
    "c": 0.15552,
    "h": 268.2
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#253B99
secondary
#BEAB5C
accent
#C644E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253B99

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

Preview Lab → · Contrast checker → · Palette generator →

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