#253495#253495

#253495 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.159 H 270.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#253495
RGBrgb(37, 52, 149)
HSLhsl(232, 60%, 36%)
HSVhsv(232, 75%, 58%)
CMYKcmyk(75.2%, 65.1%, 0%, 41.6%)
CIE-LABlab(26.79, 29.21, -54.92)
CIE-LCHlch(26.79, 62.20, 298.01°)
OKLaboklab(38.04% 0.0001 -0.1587)
OKLCHoklch(38.04% 0.159 270.1)
XYZxyz(7.4139, 5.0184, 29.0059)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253495 #958625
analogous
#256C95 #253495 #4E2595
triadic
#253495 #952534 #349525
tetradic
#253495 #95256C #958625 #25954E
square
#253495 #95256C #958625 #25954E
split-complementary
#253495 #954E25 #6C9525
monochromatic
#0D1233 #192364 #253495 #3145C6 #5E6ED7

Accessibility & contrast

On white

10.48
#253495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#253495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253495
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253495#FFFFFF#000000##FFFFFF
##2534951.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253495;
/* rgb */ color: rgb(37, 52, 149);
/* oklch */ color: oklch(38.0% 0.159 270.1);
Tailwind
colors: {
  custom: {
    50: '#716bb5',
    500: '#253495',
    950: '#000000',
  },
}
SCSS
$custom: #253495;
$custom-light: #716bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#253495",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 231.964,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38043,
    "c": 0.15874,
    "h": 270.1
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#253495
secondary
#BCAF5A
accent
#CE44E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253495

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

Preview Lab → · Contrast checker → · Palette generator →

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