#253A8F#253A8F

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

Color values

HEX#253A8F
RGBrgb(37, 58, 143)
HSLhsl(228, 59%, 35%)
HSVhsv(228, 74%, 56%)
CMYKcmyk(74.1%, 59.4%, 0%, 43.9%)
CIE-LABlab(27.85, 22.87, -49.49)
CIE-LCHlch(27.85, 54.52, 294.80°)
OKLaboklab(38.67% -0.0042 -0.1427)
OKLCHoklch(38.67% 0.143 268.3)
XYZxyz(7.2322, 5.4018, 26.6428)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A8F #8F7A25
analogous
#256F8F #253A8F #45258F
triadic
#253A8F #8F253A #3A8F25
tetradic
#253A8F #8F256F #8F7A25 #258F45
square
#253A8F #8F256F #8F7A25 #258F45
split-complementary
#253A8F #8F4525 #6F8F25
monochromatic
#0C132E #18265E #253A8F #324EC0 #5A72D4

Accessibility & contrast

On white

10.09
#253A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#253A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A8F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A8F#FFFFFF#000000##FFFFFF
##253A8F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253a8f;
/* rgb */ color: rgb(37, 58, 143);
/* oklch */ color: oklch(38.7% 0.143 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb0',
    500: '#253a8f',
    950: '#000000',
  },
}
SCSS
$custom: #253a8f;
$custom-light: #6f6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#253a8f",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 228.113,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3867,
    "c": 0.14281,
    "h": 268.3
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#253A8F
secondary
#B9A657
accent
#C346E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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