#253398#253398

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

Color values

HEX#253398
RGBrgb(37, 51, 152)
HSLhsl(233, 61%, 37%)
HSVhsv(233, 76%, 60%)
CMYKcmyk(75.7%, 66.4%, 0%, 40.4%)
CIE-LABlab(26.81, 30.99, -56.72)
CIE-LCHlch(26.81, 64.63, 298.65°)
OKLaboklab(38.15% 0.0006 -0.164)
OKLCHoklch(38.15% 0.164 270.2)
XYZxyz(7.6123, 5.0272, 30.2688)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253398 #988A25
analogous
#256C98 #253398 #512598
triadic
#253398 #982533 #339825
tetradic
#253398 #98256C #988A25 #259851
square
#253398 #98256C #988A25 #259851
split-complementary
#253398 #985125 #6C9825
monochromatic
#0D1236 #192267 #253398 #3144C9 #5F6ED8

Accessibility & contrast

On white

10.47
#253398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253398
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253398#FFFFFF#000000##FFFFFF
##2533981.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253398;
/* rgb */ color: rgb(37, 51, 152);
/* oklch */ color: oklch(38.1% 0.164 270.2);
Tailwind
colors: {
  custom: {
    50: '#726ab7',
    500: '#253398',
    950: '#000000',
  },
}
SCSS
$custom: #253398;
$custom-light: #726ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#253398",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 232.696,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38146,
    "c": 0.16401,
    "h": 270.2
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#253398
secondary
#BDB15C
accent
#D044E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253398

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

Preview Lab → · Contrast checker → · Palette generator →

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