#253A9D#253A9D

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

Color values

HEX#253A9D
RGBrgb(37, 58, 157)
HSLhsl(230, 62%, 38%)
HSVhsv(230, 76%, 62%)
CMYKcmyk(76.4%, 63.1%, 0%, 38.4%)
CIE-LABlab(29.04, 28.23, -56.12)
CIE-LCHlch(29.04, 62.82, 296.70°)
OKLaboklab(39.92% -0.0041 -0.1622)
OKLCHoklch(39.92% 0.162 268.5)
XYZxyz(8.3597, 5.8528, 32.5809)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A9D #9D8825
analogous
#25769D #253A9D #4C259D
triadic
#253A9D #9D253A #3A9D25
tetradic
#253A9D #9D2576 #9D8825 #259D4C
square
#253A9D #9D2576 #9D8825 #259D4C
split-complementary
#253A9D #9D4C25 #769D25
monochromatic
#0E153A #19286B #253A9D #314CCE #6277DA

Accessibility & contrast

On white

9.67
#253A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#253A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A9D
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A9D#FFFFFF#000000##FFFFFF
##253A9D1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253a9d;
/* rgb */ color: rgb(37, 58, 157);
/* oklch */ color: oklch(39.9% 0.162 268.5);
Tailwind
colors: {
  custom: {
    50: '#7370bb',
    500: '#253a9d',
    950: '#000000',
  },
}
SCSS
$custom: #253a9d;
$custom-light: #7370bb;
$custom-dark: #000000;
JSON
{
  "hex": "#253a9d",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 229.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39923,
    "c": 0.16226,
    "h": 268.5
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#253A9D
secondary
#BFAE5E
accent
#C943E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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