#253A8D#253A8D

#253A8D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.140 H 268.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#253A8D
RGBrgb(37, 58, 141)
HSLhsl(228, 58%, 35%)
HSVhsv(228, 74%, 55%)
CMYKcmyk(73.8%, 58.9%, 0%, 44.7%)
CIE-LABlab(27.69, 22.09, -48.52)
CIE-LCHlch(27.69, 53.31, 294.48°)
OKLaboklab(38.5% -0.0042 -0.1399)
OKLCHoklch(38.5% 0.14 268.3)
XYZxyz(7.0821, 5.3418, 25.8520)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A8D #8D7825
analogous
#256E8D #253A8D #44258D
triadic
#253A8D #8D253A #3A8D25
tetradic
#253A8D #8D256E #8D7825 #258D44
square
#253A8D #8D256E #8D7825 #258D44
split-complementary
#253A8D #8D4425 #6E8D25
monochromatic
#0C122C #18265D #253A8D #324EBD #5972D3

Accessibility & contrast

On white

10.15
#253A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#253A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A8D
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A8D#FFFFFF#000000##FFFFFF
##253A8D1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253a8d;
/* rgb */ color: rgb(37, 58, 141);
/* oklch */ color: oklch(38.5% 0.140 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f6faf',
    500: '#253a8d',
    950: '#000000',
  },
}
SCSS
$custom: #253a8d;
$custom-light: #6f6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#253a8d",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 227.885,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38497,
    "c": 0.13996,
    "h": 268.3
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#253A8D
secondary
#B8A456
accent
#C246E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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