#253198#253198

#253198 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.166 H 270.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#253198
RGBrgb(37, 49, 152)
HSLhsl(234, 61%, 37%)
HSVhsv(234, 76%, 60%)
CMYKcmyk(75.7%, 67.8%, 0%, 40.4%)
CIE-LABlab(26.32, 32.30, -57.52)
CIE-LCHlch(26.32, 65.97, 299.31°)
OKLaboklab(37.79% 0.0019 -0.1664)
OKLCHoklch(37.79% 0.166 270.6)
XYZxyz(7.5268, 4.8561, 30.2403)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253198 #988C25
analogous
#256B98 #253198 #532598
triadic
#253198 #982531 #319825
tetradic
#253198 #98256B #988C25 #259853
square
#253198 #98256B #988C25 #259853
split-complementary
#253198 #985325 #6B9825
monochromatic
#0D1136 #192167 #253198 #3141C9 #5F6CD8

Accessibility & contrast

On white

10.65
#253198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#253198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253198
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253198#FFFFFF#000000##FFFFFF
##2531981.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253198;
/* rgb */ color: rgb(37, 49, 152);
/* oklch */ color: oklch(37.8% 0.166 270.6);
Tailwind
colors: {
  custom: {
    50: '#7269b7',
    500: '#253198',
    950: '#000000',
  },
}
SCSS
$custom: #253198;
$custom-light: #7269b7;
$custom-dark: #000000;
JSON
{
  "hex": "#253198",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 233.739,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37788,
    "c": 0.16639,
    "h": 270.6
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#253198
secondary
#BDB35C
accent
#D344E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253198

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

Preview Lab → · Contrast checker → · Palette generator →

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