#253B94#253B94

#253B94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.149 H 268.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#253B94
RGBrgb(37, 59, 148)
HSLhsl(228, 60%, 36%)
HSVhsv(228, 75%, 58%)
CMYKcmyk(75%, 60.1%, 0%, 42%)
CIE-LABlab(28.53, 24.11, -51.45)
CIE-LCHlch(28.53, 56.82, 295.11°)
OKLaboklab(39.31% -0.0048 -0.1485)
OKLCHoklch(39.31% 0.149 268.1)
XYZxyz(7.6704, 5.6585, 28.6992)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B94 #947E25
analogous
#257394 #253B94 #472594
triadic
#253B94 #94253B #3B9425
tetradic
#253B94 #942573 #947E25 #259447
square
#253B94 #942573 #947E25 #259447
split-complementary
#253B94 #944725 #739425
monochromatic
#0D1432 #192763 #253B94 #314FC5 #5D75D6

Accessibility & contrast

On white

9.85
#253B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#253B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B94
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B94#FFFFFF#000000##FFFFFF
##253B941.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253b94;
/* rgb */ color: rgb(37, 59, 148);
/* oklch */ color: oklch(39.3% 0.149 268.1);
Tailwind
colors: {
  custom: {
    50: '#7070b4',
    500: '#253b94',
    950: '#000000',
  },
}
SCSS
$custom: #253b94;
$custom-light: #7070b4;
$custom-dark: #000000;
JSON
{
  "hex": "#253b94",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 228.108,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3931,
    "c": 0.14857,
    "h": 268.1
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#253B94
secondary
#BBA859
accent
#C445E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253B94

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

Preview Lab → · Contrast checker → · Palette generator →

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