#253A9F#253A9F

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

Color values

HEX#253A9F
RGBrgb(37, 58, 159)
HSLhsl(230, 62%, 38%)
HSVhsv(230, 77%, 62%)
CMYKcmyk(76.7%, 63.5%, 0%, 37.6%)
CIE-LABlab(29.21, 28.99, -57.05)
CIE-LCHlch(29.21, 63.99, 296.94°)
OKLaboklab(40.11% -0.0042 -0.1649)
OKLCHoklch(40.11% 0.165 268.5)
XYZxyz(8.5318, 5.9217, 33.4875)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A9F #9F8A25
analogous
#25779F #253A9F #4D259F
triadic
#253A9F #9F253A #3A9F25
tetradic
#253A9F #9F2577 #9F8A25 #259F4D
square
#253A9F #9F2577 #9F8A25 #259F4D
split-complementary
#253A9F #9F4D25 #779F25
monochromatic
#0E163C #19286D #253A9F #324DCF #6478DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##253A9F#FFFFFF#000000##FFFFFF
##253A9F1.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)
#004BA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253a9f;
/* rgb */ color: rgb(37, 58, 159);
/* oklch */ color: oklch(40.1% 0.165 268.5);
Tailwind
colors: {
  custom: {
    50: '#7370bc',
    500: '#253a9f',
    950: '#000000',
  },
}
SCSS
$custom: #253a9f;
$custom-light: #7370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#253a9f",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 229.672,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40107,
    "c": 0.16497,
    "h": 268.5
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#253A9F
secondary
#C0B05F
accent
#C942E5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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