#253E8F#253E8F

#253E8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.138 H 266.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#253E8F
RGBrgb(37, 62, 143)
HSLhsl(226, 59%, 35%)
HSVhsv(226, 74%, 56%)
CMYKcmyk(74.1%, 56.6%, 0%, 43.9%)
CIE-LABlab(28.96, 20.13, -47.69)
CIE-LCHlch(28.96, 51.76, 292.88°)
OKLaboklab(39.5% -0.0074 -0.1374)
OKLCHoklch(39.5% 0.138 266.9)
XYZxyz(7.4418, 5.8210, 26.7126)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E8F #8F7625
analogous
#25738F #253E8F #41258F
triadic
#253E8F #8F253E #3E8F25
tetradic
#253E8F #8F2573 #8F7625 #258F41
square
#253E8F #8F2573 #8F7625 #258F41
split-complementary
#253E8F #8F4125 #738F25
monochromatic
#0C142E #18295E #253E8F #3253C0 #5A77D4

Accessibility & contrast

On white

9.70
#253E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#253E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E8F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E8F#FFFFFF#000000##FFFFFF
##253E8F1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253e8f;
/* rgb */ color: rgb(37, 62, 143);
/* oklch */ color: oklch(39.5% 0.138 266.9);
Tailwind
colors: {
  custom: {
    50: '#6f72b0',
    500: '#253e8f',
    950: '#000000',
  },
}
SCSS
$custom: #253e8f;
$custom-light: #6f72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#253e8f",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 225.849,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39499,
    "c": 0.1376,
    "h": 266.9
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#253E8F
secondary
#B9A257
accent
#BD46E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #253E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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