#253487#253487

#253487 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.139 H 270.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#253487
RGBrgb(37, 52, 135)
HSLhsl(231, 57%, 34%)
HSVhsv(231, 73%, 53%)
CMYKcmyk(72.6%, 61.5%, 0%, 47.1%)
CIE-LABlab(25.56, 23.89, -48.27)
CIE-LCHlch(25.56, 53.86, 296.34°)
OKLaboklab(36.75% 0.0005 -0.1392)
OKLCHoklch(36.75% 0.139 270.2)
XYZxyz(6.3626, 4.5979, 23.4691)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253487 #877825
analogous
#256587 #253487 #472587
triadic
#253487 #872534 #348725
tetradic
#253487 #872565 #877825 #258747
square
#253487 #872565 #877825 #258747
split-complementary
#253487 #874725 #658725
monochromatic
#0B0F27 #182157 #253487 #3247B7 #5669D1

Accessibility & contrast

On white

10.94
#253487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#253487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253487
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253487#FFFFFF#000000##FFFFFF
##2534871.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #253487;
/* rgb */ color: rgb(37, 52, 135);
/* oklch */ color: oklch(36.8% 0.139 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e6bab',
    500: '#253487',
    950: '#000000',
  },
}
SCSS
$custom: #253487;
$custom-light: #6e6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#253487",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 230.816,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36754,
    "c": 0.13923,
    "h": 270.2
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#253487
secondary
#B5A653
accent
#C948E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253487

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

Preview Lab → · Contrast checker → · Palette generator →

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