#253A8B#253A8B

#253A8B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.137 H 268.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#253A8B
RGBrgb(37, 58, 139)
HSLhsl(228, 58%, 35%)
HSVhsv(228, 73%, 55%)
CMYKcmyk(73.4%, 58.3%, 0%, 45.5%)
CIE-LABlab(27.53, 21.32, -47.55)
CIE-LCHlch(27.53, 52.11, 294.15°)
OKLaboklab(38.32% -0.0043 -0.137)
OKLCHoklch(38.32% 0.137 268.2)
XYZxyz(6.9346, 5.2828, 25.0753)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A8B #8B7625
analogous
#256D8B #253A8B #43258B
triadic
#253A8B #8B253A #3A8B25
tetradic
#253A8B #8B256D #8B7625 #258B43
square
#253A8B #8B256D #8B7625 #258B43
split-complementary
#253A8B #8B4325 #6D8B25
monochromatic
#0B122A #18265B #253A8B #324EBB #5871D3

Accessibility & contrast

On white

10.21
#253A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#253A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A8B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A8B#FFFFFF#000000##FFFFFF
##253A8B1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253a8b;
/* rgb */ color: rgb(37, 58, 139);
/* oklch */ color: oklch(38.3% 0.137 268.2);
Tailwind
colors: {
  custom: {
    50: '#6e6fae',
    500: '#253a8b',
    950: '#000000',
  },
}
SCSS
$custom: #253a8b;
$custom-light: #6e6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#253a8b",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 227.647,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.13711,
    "h": 268.2
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#253A8B
secondary
#B7A355
accent
#C147E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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