#253A94#253A94

#253A94 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.150 H 268.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#253A94
RGBrgb(37, 58, 148)
HSLhsl(229, 60%, 36%)
HSVhsv(229, 75%, 58%)
CMYKcmyk(75%, 60.8%, 0%, 42%)
CIE-LABlab(28.27, 24.79, -51.89)
CIE-LCHlch(28.27, 57.51, 295.54°)
OKLaboklab(39.11% -0.0041 -0.1498)
OKLCHoklch(39.11% 0.15 268.4)
XYZxyz(7.6195, 5.5567, 28.6822)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A94 #947F25
analogous
#257294 #253A94 #482594
triadic
#253A94 #94253A #3A9425
tetradic
#253A94 #942572 #947F25 #259448
square
#253A94 #942572 #947F25 #259448
split-complementary
#253A94 #944825 #729425
monochromatic
#0D1432 #192763 #253A94 #314DC5 #5D74D6

Accessibility & contrast

On white

9.95
#253A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#253A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A94
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A94#FFFFFF#000000##FFFFFF
##253A941.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253a94;
/* rgb */ color: rgb(37, 58, 148);
/* oklch */ color: oklch(39.1% 0.150 268.4);
Tailwind
colors: {
  custom: {
    50: '#706fb4',
    500: '#253a94',
    950: '#000000',
  },
}
SCSS
$custom: #253a94;
$custom-light: #706fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#253a94",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 148
  },
  "hsl": {
    "h": 228.649,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39109,
    "c": 0.14985,
    "h": 268.4
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#253A94
secondary
#BBA959
accent
#C545E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253A94

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

Preview Lab → · Contrast checker → · Palette generator →

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