#253A80#253A80

#253A80 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.121 H 267.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#253A80
RGBrgb(37, 58, 128)
HSLhsl(226, 55%, 32%)
HSVhsv(226, 71%, 50%)
CMYKcmyk(71.1%, 54.7%, 0%, 49.8%)
CIE-LABlab(26.67, 17.04, -42.08)
CIE-LCHlch(26.67, 45.40, 292.04°)
OKLaboklab(37.41% -0.005 -0.121)
OKLCHoklch(37.41% 0.121 267.6)
XYZxyz(6.1709, 4.9773, 21.0534)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A80 #806B25
analogous
#256880 #253A80 #3E2580
triadic
#253A80 #80253A #3A8025
tetradic
#253A80 #802568 #806B25 #25803E
square
#253A80 #802568 #806B25 #25803E
split-complementary
#253A80 #803E25 #688025
monochromatic
#0A0F21 #172451 #253A80 #3350AF #526FCD

Accessibility & contrast

On white

10.52
#253A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#253A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A80
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A80#FFFFFF#000000##FFFFFF
##253A801.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4382
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253a80;
/* rgb */ color: rgb(37, 58, 128);
/* oklch */ color: oklch(37.4% 0.121 267.6);
Tailwind
colors: {
  custom: {
    50: '#6c6fa5',
    500: '#253a80',
    950: '#000000',
  },
}
SCSS
$custom: #253a80;
$custom-light: #6c6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#253a80",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 128
  },
  "hsl": {
    "h": 226.154,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37411,
    "c": 0.12107,
    "h": 267.6
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#253A80
secondary
#B19B50
accent
#BC49DE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253A80

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

Preview Lab → · Contrast checker → · Palette generator →

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