#253A91#253A91

#253A91 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.146 H 268.4°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#253A91
RGBrgb(37, 58, 145)
HSLhsl(228, 59%, 36%)
HSVhsv(228, 74%, 57%)
CMYKcmyk(74.5%, 60%, 0%, 43.1%)
CIE-LABlab(28.02, 23.64, -50.45)
CIE-LCHlch(28.02, 55.72, 295.10°)
OKLaboklab(38.85% -0.0041 -0.1456)
OKLCHoklch(38.85% 0.146 268.4)
XYZxyz(7.3851, 5.4630, 27.4478)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A91 #917C25
analogous
#257091 #253A91 #462591
triadic
#253A91 #91253A #3A9125
tetradic
#253A91 #912570 #917C25 #259146
square
#253A91 #912570 #917C25 #259146
split-complementary
#253A91 #914625 #709125
monochromatic
#0C132F #192660 #253A91 #314EC2 #5B73D5

Accessibility & contrast

On white

10.03
#253A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#253A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A91
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A91#FFFFFF#000000##FFFFFF
##253A911.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253a91;
/* rgb */ color: rgb(37, 58, 145);
/* oklch */ color: oklch(38.8% 0.146 268.4);
Tailwind
colors: {
  custom: {
    50: '#706fb2',
    500: '#253a91',
    950: '#000000',
  },
}
SCSS
$custom: #253a91;
$custom-light: #706fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#253a91",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 228.333,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38845,
    "c": 0.14564,
    "h": 268.4
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#253A91
secondary
#BAA758
accent
#C445E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253A91

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

Preview Lab → · Contrast checker → · Palette generator →

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