#253A8E#253A8E

#253A8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.141 H 268.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#253A8E
RGBrgb(37, 58, 142)
HSLhsl(228, 59%, 35%)
HSVhsv(228, 74%, 56%)
CMYKcmyk(73.9%, 59.2%, 0%, 44.3%)
CIE-LABlab(27.77, 22.48, -49.01)
CIE-LCHlch(27.77, 53.92, 294.64°)
OKLaboklab(38.58% -0.0042 -0.1413)
OKLCHoklch(38.58% 0.141 268.3)
XYZxyz(7.1568, 5.3717, 26.2456)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A8E #8E7925
analogous
#256E8E #253A8E #45258E
triadic
#253A8E #8E253A #3A8E25
tetradic
#253A8E #8E256E #8E7925 #258E45
square
#253A8E #8E256E #8E7925 #258E45
split-complementary
#253A8E #8E4525 #6E8E25
monochromatic
#0C122D #18265D #253A8E #324EBF #5A72D4

Accessibility & contrast

On white

10.12
#253A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253A8E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A8E#FFFFFF#000000##FFFFFF
##253A8E1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253a8e;
/* rgb */ color: rgb(37, 58, 142);
/* oklch */ color: oklch(38.6% 0.141 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb0',
    500: '#253a8e',
    950: '#000000',
  },
}
SCSS
$custom: #253a8e;
$custom-light: #6f6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#253a8e",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 228,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38583,
    "c": 0.14139,
    "h": 268.3
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#253A8E
secondary
#B9A556
accent
#C346E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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