#253287#253287

#253287 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.142 H 270.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#253287
RGBrgb(37, 50, 135)
HSLhsl(232, 57%, 34%)
HSVhsv(232, 73%, 53%)
CMYKcmyk(72.6%, 63%, 0%, 47.1%)
CIE-LABlab(25.02, 25.26, -49.14)
CIE-LCHlch(25.02, 55.25, 297.20°)
OKLaboklab(36.36% 0.0021 -0.1418)
OKLCHoklch(36.36% 0.142 270.8)
XYZxyz(6.2752, 4.4232, 23.4400)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253287 #877A25
analogous
#256387 #253287 #492587
triadic
#253287 #872532 #328725
tetradic
#253287 #872563 #877A25 #258749
square
#253287 #872563 #877A25 #258749
split-complementary
#253287 #874925 #638725
monochromatic
#0B0E27 #182057 #253287 #3244B7 #5666D1

Accessibility & contrast

On white

11.14
#253287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#253287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253287
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253287#FFFFFF#000000##FFFFFF
##2532871.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #253287;
/* rgb */ color: rgb(37, 50, 135);
/* oklch */ color: oklch(36.4% 0.142 270.8);
Tailwind
colors: {
  custom: {
    50: '#6e69ab',
    500: '#253287',
    950: '#000000',
  },
}
SCSS
$custom: #253287;
$custom-light: #6e69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#253287",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 232.041,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36358,
    "c": 0.14183,
    "h": 270.8
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#253287
secondary
#B5A853
accent
#CC48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253287

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

Preview Lab → · Contrast checker → · Palette generator →

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