#253E98#253E98

#253E98 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.150 H 267.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#253E98
RGBrgb(37, 62, 152)
HSLhsl(227, 61%, 37%)
HSVhsv(227, 76%, 60%)
CMYKcmyk(75.7%, 59.2%, 0%, 40.4%)
CIE-LABlab(29.68, 23.62, -52.04)
CIE-LCHlch(29.68, 57.15, 294.41°)
OKLaboklab(40.27% -0.007 -0.1502)
OKLCHoklch(40.27% 0.15 267.3)
XYZxyz(8.1511, 6.1047, 30.4484)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E98 #987F25
analogous
#257798 #253E98 #462598
triadic
#253E98 #98253E #3E9825
tetradic
#253E98 #982577 #987F25 #259846
square
#253E98 #982577 #987F25 #259846
split-complementary
#253E98 #984625 #779825
monochromatic
#0D1636 #192A67 #253E98 #3152C9 #5F7AD8

Accessibility & contrast

On white

9.45
#253E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#253E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E98
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E98#FFFFFF#000000##FFFFFF
##253E981.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253e98;
/* rgb */ color: rgb(37, 62, 152);
/* oklch */ color: oklch(40.3% 0.150 267.3);
Tailwind
colors: {
  custom: {
    50: '#7172b7',
    500: '#253e98',
    950: '#000000',
  },
}
SCSS
$custom: #253e98;
$custom-light: #7172b7;
$custom-dark: #000000;
JSON
{
  "hex": "#253e98",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 226.957,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40265,
    "c": 0.15033,
    "h": 267.3
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#253E98
secondary
#BDA85C
accent
#C144E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #253E98

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

Preview Lab → · Contrast checker → · Palette generator →

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