#253A9C#253A9C

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

Color values

HEX#253A9C
RGBrgb(37, 58, 156)
HSLhsl(229, 62%, 38%)
HSVhsv(229, 76%, 61%)
CMYKcmyk(76.3%, 62.8%, 0%, 38.8%)
CIE-LABlab(28.95, 27.85, -55.65)
CIE-LCHlch(28.95, 62.23, 296.58°)
OKLaboklab(39.83% -0.0041 -0.1608)
OKLCHoklch(39.83% 0.161 268.5)
XYZxyz(8.2747, 5.8188, 32.1331)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A9C #9C8725
analogous
#25759C #253A9C #4C259C
triadic
#253A9C #9C253A #3A9C25
tetradic
#253A9C #9C2575 #9C8725 #259C4C
square
#253A9C #9C2575 #9C8725 #259C4C
split-complementary
#253A9C #9C4C25 #759C25
monochromatic
#0E1539 #19286B #253A9C #314CCD #6277DA

Accessibility & contrast

On white

9.70
#253A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253A9C
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A9C#FFFFFF#000000##FFFFFF
##253A9C1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253a9c;
/* rgb */ color: rgb(37, 58, 156);
/* oklch */ color: oklch(39.8% 0.161 268.5);
Tailwind
colors: {
  custom: {
    50: '#7270ba',
    500: '#253a9c',
    950: '#000000',
  },
}
SCSS
$custom: #253a9c;
$custom-light: #7270ba;
$custom-dark: #000000;
JSON
{
  "hex": "#253a9c",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 156
  },
  "hsl": {
    "h": 229.412,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39831,
    "c": 0.16089,
    "h": 268.5
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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