#253298#253298

#253298 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.165 H 270.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#253298
RGBrgb(37, 50, 152)
HSLhsl(233, 61%, 37%)
HSVhsv(233, 76%, 60%)
CMYKcmyk(75.7%, 67.1%, 0%, 40.4%)
CIE-LABlab(26.57, 31.65, -57.12)
CIE-LCHlch(26.57, 65.30, 298.99°)
OKLaboklab(37.97% 0.0013 -0.1652)
OKLCHoklch(37.97% 0.165 270.4)
XYZxyz(7.5691, 4.9407, 30.2544)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253298 #988B25
analogous
#256C98 #253298 #512598
triadic
#253298 #982532 #329825
tetradic
#253298 #98256C #988B25 #259851
square
#253298 #98256C #988B25 #259851
split-complementary
#253298 #985125 #6C9825
monochromatic
#0D1236 #192267 #253298 #3142C9 #5F6DD8

Accessibility & contrast

On white

10.56
#253298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253298
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253298#FFFFFF#000000##FFFFFF
##2532981.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253298;
/* rgb */ color: rgb(37, 50, 152);
/* oklch */ color: oklch(38.0% 0.165 270.4);
Tailwind
colors: {
  custom: {
    50: '#726ab7',
    500: '#253298',
    950: '#000000',
  },
}
SCSS
$custom: #253298;
$custom-light: #726ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#253298",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 233.217,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37966,
    "c": 0.1652,
    "h": 270.4
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253298

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

Preview Lab → · Contrast checker → · Palette generator →

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