#253B8E#253B8E

#253B8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.140 H 267.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#253B8E
RGBrgb(37, 59, 142)
HSLhsl(227, 59%, 35%)
HSVhsv(227, 74%, 56%)
CMYKcmyk(73.9%, 58.5%, 0%, 44.3%)
CIE-LABlab(28.04, 21.79, -48.56)
CIE-LCHlch(28.04, 53.23, 294.17°)
OKLaboklab(38.79% -0.005 -0.14)
OKLCHoklch(38.79% 0.14 267.9)
XYZxyz(7.2077, 5.4735, 26.2626)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B8E #8E7825
analogous
#256F8E #253B8E #44258E
triadic
#253B8E #8E253B #3B8E25
tetradic
#253B8E #8E256F #8E7825 #258E44
square
#253B8E #8E256F #8E7825 #258E44
split-complementary
#253B8E #8E4425 #6F8E25
monochromatic
#0C132D #18275D #253B8E #324FBF #5A73D4

Accessibility & contrast

On white

10.02
#253B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#253B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B8E
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B8E#FFFFFF#000000##FFFFFF
##253B8E1.0010.022.0910.02
#FFFFFF10.021.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253b8e;
/* rgb */ color: rgb(37, 59, 142);
/* oklch */ color: oklch(38.8% 0.140 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f70b0',
    500: '#253b8e',
    950: '#000000',
  },
}
SCSS
$custom: #253b8e;
$custom-light: #6f70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#253b8e",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 142
  },
  "hsl": {
    "h": 227.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38789,
    "c": 0.14009,
    "h": 267.9
  },
  "luminance": 0.05474
}

Semantic roles & 50–950 ramp

primary
#253B8E
secondary
#B9A456
accent
#C146E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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