#253B9F#253B9F

#253B9F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.164 H 268.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#253B9F
RGBrgb(37, 59, 159)
HSLhsl(229, 62%, 38%)
HSVhsv(229, 77%, 62%)
CMYKcmyk(76.7%, 62.9%, 0%, 37.6%)
CIE-LABlab(29.47, 28.32, -56.62)
CIE-LCHlch(29.47, 63.31, 296.57°)
OKLaboklab(40.3% -0.0048 -0.1637)
OKLCHoklch(40.3% 0.164 268.3)
XYZxyz(8.5828, 6.0235, 33.5045)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B9F #9F8925
analogous
#25789F #253B9F #4C259F
triadic
#253B9F #9F253B #3B9F25
tetradic
#253B9F #9F2578 #9F8925 #259F4C
square
#253B9F #9F2578 #9F8925 #259F4C
split-complementary
#253B9F #9F4C25 #789F25
monochromatic
#0E163C #19296D #253B9F #324ECF #6479DB

Accessibility & contrast

On white

9.52
#253B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#253B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B9F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B9F#FFFFFF#000000##FFFFFF
##253B9F1.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253b9f;
/* rgb */ color: rgb(37, 59, 159);
/* oklch */ color: oklch(40.3% 0.164 268.3);
Tailwind
colors: {
  custom: {
    50: '#7370bc',
    500: '#253b9f',
    950: '#000000',
  },
}
SCSS
$custom: #253b9f;
$custom-light: #7370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#253b9f",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 159
  },
  "hsl": {
    "h": 229.18,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40297,
    "c": 0.16374,
    "h": 268.3
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#253B9F
secondary
#C0AF5F
accent
#C842E5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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