#253498#253498

#253498 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.163 H 270.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#253498
RGBrgb(37, 52, 152)
HSLhsl(232, 61%, 37%)
HSVhsv(232, 76%, 60%)
CMYKcmyk(75.7%, 65.8%, 0%, 40.4%)
CIE-LABlab(27.06, 30.33, -56.31)
CIE-LCHlch(27.06, 63.96, 298.31°)
OKLaboklab(38.33% 0 -0.1628)
OKLCHoklch(38.33% 0.163 270)
XYZxyz(7.6565, 5.1155, 30.2835)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253498 #988925
analogous
#256E98 #253498 #502598
triadic
#253498 #982534 #349825
tetradic
#253498 #98256E #988925 #259850
square
#253498 #98256E #988925 #259850
split-complementary
#253498 #985025 #6E9825
monochromatic
#0D1236 #192367 #253498 #3145C9 #5F6FD8

Accessibility & contrast

On white

10.38
#253498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#253498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253498
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253498#FFFFFF#000000##FFFFFF
##2534981.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253498;
/* rgb */ color: rgb(37, 52, 152);
/* oklch */ color: oklch(38.3% 0.163 270.0);
Tailwind
colors: {
  custom: {
    50: '#726bb7',
    500: '#253498',
    950: '#000000',
  },
}
SCSS
$custom: #253498;
$custom-light: #726bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#253498",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 232.174,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38329,
    "c": 0.16281,
    "h": 270
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#253498
secondary
#BDB05C
accent
#CF44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253498

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

Preview Lab → · Contrast checker → · Palette generator →

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