#253A8A#253A8A

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

Color values

HEX#253A8A
RGBrgb(37, 58, 138)
HSLhsl(228, 58%, 34%)
HSVhsv(228, 73%, 54%)
CMYKcmyk(73.2%, 58%, 0%, 45.9%)
CIE-LABlab(27.45, 20.93, -47.06)
CIE-LCHlch(27.45, 51.50, 293.98°)
OKLaboklab(38.24% -0.0044 -0.1356)
OKLCHoklch(38.24% 0.136 268.2)
XYZxyz(6.8619, 5.2537, 24.6923)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A8A #8A7525
analogous
#256D8A #253A8A #43258A
triadic
#253A8A #8A253A #3A8A25
tetradic
#253A8A #8A256D #8A7525 #258A43
square
#253A8A #8A256D #8A7525 #258A43
split-complementary
#253A8A #8A4325 #6D8A25
monochromatic
#0B1129 #18265A #253A8A #324EBA #5771D2

Accessibility & contrast

On white

10.24
#253A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#253A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A8A
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A8A#FFFFFF#000000##FFFFFF
##253A8A1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253a8a;
/* rgb */ color: rgb(37, 58, 138);
/* oklch */ color: oklch(38.2% 0.136 268.2);
Tailwind
colors: {
  custom: {
    50: '#6e6fad',
    500: '#253a8a',
    950: '#000000',
  },
}
SCSS
$custom: #253a8a;
$custom-light: #6e6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#253a8a",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 227.525,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3824,
    "c": 0.13567,
    "h": 268.2
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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