#253299#253299

#253299 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.167 H 270.4°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#253299
RGBrgb(37, 50, 153)
HSLhsl(233, 61%, 37%)
HSVhsv(233, 76%, 60%)
CMYKcmyk(75.8%, 67.3%, 0%, 40%)
CIE-LABlab(26.66, 32.02, -57.58)
CIE-LCHlch(26.66, 65.88, 299.08°)
OKLaboklab(38.06% 0.0012 -0.1665)
OKLCHoklch(38.06% 0.167 270.4)
XYZxyz(7.6514, 4.9736, 30.6876)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253299 #998C25
analogous
#256C99 #253299 #522599
triadic
#253299 #992532 #329925
tetradic
#253299 #99256C #998C25 #259952
square
#253299 #99256C #998C25 #259952
split-complementary
#253299 #995225 #6C9925
monochromatic
#0D1236 #192268 #253299 #3142CA #606DD9

Accessibility & contrast

On white

10.53
#253299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#253299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253299
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253299#FFFFFF#000000##FFFFFF
##2532991.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253299;
/* rgb */ color: rgb(37, 50, 153);
/* oklch */ color: oklch(38.1% 0.167 270.4);
Tailwind
colors: {
  custom: {
    50: '#726ab8',
    500: '#253299',
    950: '#000000',
  },
}
SCSS
$custom: #253299;
$custom-light: #726ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#253299",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 233.276,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38063,
    "c": 0.16654,
    "h": 270.4
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#253299
secondary
#BEB35C
accent
#D244E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253299

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

Preview Lab → · Contrast checker → · Palette generator →

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