#253899#253899

#253899 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.159 H 269.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#253899
RGBrgb(37, 56, 153)
HSLhsl(230, 61%, 37%)
HSVhsv(230, 76%, 60%)
CMYKcmyk(75.8%, 63.4%, 0%, 40%)
CIE-LABlab(28.17, 28.05, -55.10)
CIE-LCHlch(28.17, 61.83, 296.98°)
OKLaboklab(39.17% -0.0027 -0.1592)
OKLCHoklch(39.17% 0.159 269)
XYZxyz(7.9249, 5.5207, 30.7788)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253899 #998625
analogous
#257299 #253899 #4C2599
triadic
#253899 #992538 #389925
tetradic
#253899 #992572 #998625 #25994C
square
#253899 #992572 #998625 #25994C
split-complementary
#253899 #994C25 #729925
monochromatic
#0D1436 #192668 #253899 #314ACA #6074D9

Accessibility & contrast

On white

9.98
#253899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#253899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253899
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253899#FFFFFF#000000##FFFFFF
##2538991.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253899;
/* rgb */ color: rgb(37, 56, 153);
/* oklch */ color: oklch(39.2% 0.159 269.0);
Tailwind
colors: {
  custom: {
    50: '#726eb8',
    500: '#253899',
    950: '#000000',
  },
}
SCSS
$custom: #253899;
$custom-light: #726eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#253899",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 230.172,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39172,
    "c": 0.15927,
    "h": 269
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#253899
secondary
#BEAE5C
accent
#CA44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253899

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

Preview Lab → · Contrast checker → · Palette generator →

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