#253A9B#253A9B

#253A9B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.160 H 268.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#253A9B
RGBrgb(37, 58, 155)
HSLhsl(229, 61%, 38%)
HSVhsv(229, 76%, 61%)
CMYKcmyk(76.1%, 62.6%, 0%, 39.2%)
CIE-LABlab(28.86, 27.47, -55.19)
CIE-LCHlch(28.86, 61.65, 296.46°)
OKLaboklab(39.74% -0.0041 -0.1595)
OKLCHoklch(39.74% 0.16 268.5)
XYZxyz(8.1904, 5.7851, 31.6890)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A9B #9B8625
analogous
#25759B #253A9B #4B259B
triadic
#253A9B #9B253A #3A9B25
tetradic
#253A9B #9B2575 #9B8625 #259B4B
square
#253A9B #9B2575 #9B8625 #259B4B
split-complementary
#253A9B #9B4B25 #759B25
monochromatic
#0D1538 #19286A #253A9B #314CCC #6176D9

Accessibility & contrast

On white

9.73
#253A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253A9B
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A9B#FFFFFF#000000##FFFFFF
##253A9B1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253a9b;
/* rgb */ color: rgb(37, 58, 155);
/* oklch */ color: oklch(39.7% 0.160 268.5);
Tailwind
colors: {
  custom: {
    50: '#7270b9',
    500: '#253a9b',
    950: '#000000',
  },
}
SCSS
$custom: #253a9b;
$custom-light: #7270b9;
$custom-dark: #000000;
JSON
{
  "hex": "#253a9b",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 229.322,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3974,
    "c": 0.15953,
    "h": 268.5
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#253A9B
secondary
#BFAD5D
accent
#C843E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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