#253A99#253A99

#253A99 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.157 H 268.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#253A99
RGBrgb(37, 58, 153)
HSLhsl(229, 61%, 37%)
HSVhsv(229, 76%, 60%)
CMYKcmyk(75.8%, 62.1%, 0%, 40%)
CIE-LABlab(28.69, 26.71, -54.25)
CIE-LCHlch(28.69, 60.47, 296.21°)
OKLaboklab(39.56% -0.0041 -0.1567)
OKLCHoklch(39.56% 0.157 268.5)
XYZxyz(8.0238, 5.7185, 30.8117)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A99 #998425
analogous
#257499 #253A99 #4A2599
triadic
#253A99 #99253A #3A9925
tetradic
#253A99 #992574 #998425 #25994A
square
#253A99 #992574 #998425 #25994A
split-complementary
#253A99 #994A25 #749925
monochromatic
#0D1536 #192768 #253A99 #314DCA #6076D9

Accessibility & contrast

On white

9.80
#253A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#253A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A99
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A99#FFFFFF#000000##FFFFFF
##253A991.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253a99;
/* rgb */ color: rgb(37, 58, 153);
/* oklch */ color: oklch(39.6% 0.157 268.5);
Tailwind
colors: {
  custom: {
    50: '#7270b8',
    500: '#253a99',
    950: '#000000',
  },
}
SCSS
$custom: #253a99;
$custom-light: #7270b8;
$custom-dark: #000000;
JSON
{
  "hex": "#253a99",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 229.138,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39558,
    "c": 0.15678,
    "h": 268.5
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

primary
#253A99
secondary
#BEAC5C
accent
#C744E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253A99

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

Preview Lab → · Contrast checker → · Palette generator →

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