#253995#253995

#253995 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.153 H 268.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#253995
RGBrgb(37, 57, 149)
HSLhsl(229, 60%, 36%)
HSVhsv(229, 75%, 58%)
CMYKcmyk(75.2%, 61.7%, 0%, 41.6%)
CIE-LABlab(28.08, 25.85, -52.80)
CIE-LCHlch(28.08, 58.79, 296.09°)
OKLaboklab(39% -0.0034 -0.1525)
OKLCHoklch(39% 0.153 268.7)
XYZxyz(7.6490, 5.4887, 29.0842)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253995 #958125
analogous
#257195 #253995 #492595
triadic
#253995 #952539 #399525
tetradic
#253995 #952571 #958125 #259549
square
#253995 #952571 #958125 #259549
split-complementary
#253995 #954925 #719525
monochromatic
#0D1333 #192664 #253995 #314CC6 #5E73D7

Accessibility & contrast

On white

10.01
#253995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253995
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253995#FFFFFF#000000##FFFFFF
##2539951.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253995;
/* rgb */ color: rgb(37, 57, 149);
/* oklch */ color: oklch(39.0% 0.153 268.7);
Tailwind
colors: {
  custom: {
    50: '#716fb5',
    500: '#253995',
    950: '#000000',
  },
}
SCSS
$custom: #253995;
$custom-light: #716fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#253995",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 229.286,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.15251,
    "h": 268.7
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#253995
secondary
#BCAA5A
accent
#C744E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253995

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

Preview Lab → · Contrast checker → · Palette generator →

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