#253395#253395

#253395 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.160 H 270.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#253395
RGBrgb(37, 51, 149)
HSLhsl(233, 60%, 36%)
HSVhsv(233, 75%, 58%)
CMYKcmyk(75.2%, 65.8%, 0%, 41.6%)
CIE-LABlab(26.53, 29.87, -55.33)
CIE-LCHlch(26.53, 62.88, 298.36°)
OKLaboklab(37.86% 0.0008 -0.16)
OKLCHoklch(37.86% 0.16 270.3)
XYZxyz(7.3697, 4.9301, 28.9912)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253395 #958725
analogous
#256B95 #253395 #4F2595
triadic
#253395 #952533 #339525
tetradic
#253395 #95256B #958725 #25954F
square
#253395 #95256B #958725 #25954F
split-complementary
#253395 #954F25 #6B9525
monochromatic
#0D1133 #192264 #253395 #3144C6 #5E6DD7

Accessibility & contrast

On white

10.57
#253395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#253395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253395
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253395#FFFFFF#000000##FFFFFF
##2533951.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253395;
/* rgb */ color: rgb(37, 51, 149);
/* oklch */ color: oklch(37.9% 0.160 270.3);
Tailwind
colors: {
  custom: {
    50: '#716ab5',
    500: '#253395',
    950: '#000000',
  },
}
SCSS
$custom: #253395;
$custom-light: #716ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#253395",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 232.5,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37858,
    "c": 0.15996,
    "h": 270.3
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#253395
secondary
#BCB05A
accent
#CF44E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253395

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

Preview Lab → · Contrast checker → · Palette generator →

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