#253E91#253E91

#253E91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.140 H 267.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#253E91
RGBrgb(37, 62, 145)
HSLhsl(226, 59%, 36%)
HSVhsv(226, 74%, 57%)
CMYKcmyk(74.5%, 57.2%, 0%, 43.1%)
CIE-LABlab(29.11, 20.90, -48.67)
CIE-LCHlch(29.11, 52.97, 293.24°)
OKLaboklab(39.67% -0.0073 -0.1403)
OKLCHoklch(39.67% 0.14 267)
XYZxyz(7.5946, 5.8821, 27.5177)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E91 #917825
analogous
#257491 #253E91 #422591
triadic
#253E91 #91253E #3E9125
tetradic
#253E91 #912574 #917825 #259142
square
#253E91 #912574 #917825 #259142
split-complementary
#253E91 #914225 #749125
monochromatic
#0C142F #192960 #253E91 #3153C2 #5B77D5

Accessibility & contrast

On white

9.65
#253E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#253E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E91
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E91#FFFFFF#000000##FFFFFF
##253E911.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253e91;
/* rgb */ color: rgb(37, 62, 145);
/* oklch */ color: oklch(39.7% 0.140 267.0);
Tailwind
colors: {
  custom: {
    50: '#6f72b2',
    500: '#253e91',
    950: '#000000',
  },
}
SCSS
$custom: #253e91;
$custom-light: #6f72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#253e91",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 226.111,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39667,
    "c": 0.14046,
    "h": 267
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#253E91
secondary
#BAA358
accent
#BE45E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #253E91

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

Preview Lab → · Contrast checker → · Palette generator →

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