#253A9A#253A9A

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

Color values

HEX#253A9A
RGBrgb(37, 58, 154)
HSLhsl(229, 61%, 37%)
HSVhsv(229, 76%, 60%)
CMYKcmyk(76%, 62.3%, 0%, 39.6%)
CIE-LABlab(28.78, 27.09, -54.72)
CIE-LCHlch(28.78, 61.06, 296.34°)
OKLaboklab(39.65% -0.0041 -0.1581)
OKLCHoklch(39.65% 0.158 268.5)
XYZxyz(8.1067, 5.7516, 31.2485)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A9A #9A8525
analogous
#25749A #253A9A #4B259A
triadic
#253A9A #9A253A #3A9A25
tetradic
#253A9A #9A2574 #9A8525 #259A4B
square
#253A9A #9A2574 #9A8525 #259A4B
split-complementary
#253A9A #9A4B25 #749A25
monochromatic
#0D1537 #192769 #253A9A #314DCB #6076D9

Accessibility & contrast

On white

9.76
#253A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#253A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A9A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A9A#FFFFFF#000000##FFFFFF
##253A9A1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253a9a;
/* rgb */ color: rgb(37, 58, 154);
/* oklch */ color: oklch(39.6% 0.158 268.5);
Tailwind
colors: {
  custom: {
    50: '#7270b9',
    500: '#253a9a',
    950: '#000000',
  },
}
SCSS
$custom: #253a9a;
$custom-light: #7270b9;
$custom-dark: #000000;
JSON
{
  "hex": "#253a9a",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 154
  },
  "hsl": {
    "h": 229.231,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39649,
    "c": 0.15815,
    "h": 268.5
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#253A9A
secondary
#BEAD5D
accent
#C743E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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