#253399#253399

#253399 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.165 H 270.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#253399
RGBrgb(37, 51, 153)
HSLhsl(233, 61%, 37%)
HSVhsv(233, 76%, 60%)
CMYKcmyk(75.8%, 66.7%, 0%, 40%)
CIE-LABlab(26.91, 31.36, -57.17)
CIE-LCHlch(26.91, 65.21, 298.75°)
OKLaboklab(38.24% 0.0006 -0.1654)
OKLCHoklch(38.24% 0.165 270.2)
XYZxyz(7.6946, 5.0601, 30.7020)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253399 #998B25
analogous
#256D99 #253399 #512599
triadic
#253399 #992533 #339925
tetradic
#253399 #99256D #998B25 #259951
square
#253399 #99256D #998B25 #259951
split-complementary
#253399 #995125 #6D9925
monochromatic
#0D1236 #192368 #253399 #3143CA #606ED9

Accessibility & contrast

On white

10.44
#253399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#253399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253399
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253399#FFFFFF#000000##FFFFFF
##2533991.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253399;
/* rgb */ color: rgb(37, 51, 153);
/* oklch */ color: oklch(38.2% 0.165 270.2);
Tailwind
colors: {
  custom: {
    50: '#726ab8',
    500: '#253399',
    950: '#000000',
  },
}
SCSS
$custom: #253399;
$custom-light: #726ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#253399",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 232.759,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38243,
    "c": 0.16536,
    "h": 270.2
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#253399
secondary
#BEB25C
accent
#D144E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253399

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

Preview Lab → · Contrast checker → · Palette generator →

#253399 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva