#253098#253098

#253098 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.168 H 270.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#253098
RGBrgb(37, 48, 152)
HSLhsl(234, 61%, 37%)
HSVhsv(234, 76%, 60%)
CMYKcmyk(75.7%, 68.4%, 0%, 40.4%)
CIE-LABlab(26.08, 32.94, -57.92)
CIE-LCHlch(26.08, 66.63, 299.63°)
OKLaboklab(37.61% 0.0025 -0.1675)
OKLCHoklch(37.61% 0.168 270.8)
XYZxyz(7.4855, 4.7734, 30.2265)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253098 #988D25
analogous
#256A98 #253098 #542598
triadic
#253098 #982530 #309825
tetradic
#253098 #98256A #988D25 #259854
square
#253098 #98256A #988D25 #259854
split-complementary
#253098 #985425 #6A9825
monochromatic
#0D1136 #192067 #253098 #3140C9 #5F6BD8

Accessibility & contrast

On white

10.74
#253098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#253098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253098
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253098#FFFFFF#000000##FFFFFF
##2530981.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253098;
/* rgb */ color: rgb(37, 48, 152);
/* oklch */ color: oklch(37.6% 0.168 270.8);
Tailwind
colors: {
  custom: {
    50: '#7268b7',
    500: '#253098',
    950: '#000000',
  },
}
SCSS
$custom: #253098;
$custom-light: #7268b7;
$custom-dark: #000000;
JSON
{
  "hex": "#253098",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 234.261,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37612,
    "c": 0.16756,
    "h": 270.8
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#253098
secondary
#BDB45C
accent
#D544E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253098

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

Preview Lab → · Contrast checker → · Palette generator →

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