#253185#253185

#253185 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.140 H 271.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#253185
RGBrgb(37, 49, 133)
HSLhsl(233, 56%, 33%)
HSVhsv(233, 72%, 52%)
CMYKcmyk(72.2%, 63.2%, 0%, 47.8%)
CIE-LABlab(24.59, 25.18, -48.60)
CIE-LCHlch(24.59, 54.74, 297.39°)
OKLaboklab(35.98% 0.0029 -0.1403)
OKLCHoklch(35.98% 0.14 271.2)
XYZxyz(6.0935, 4.2828, 22.6913)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253185 #857925
analogous
#256185 #253185 #492585
triadic
#253185 #852531 #318525
tetradic
#253185 #852561 #857925 #258549
square
#253185 #852561 #857925 #258549
split-complementary
#253185 #854925 #618525
monochromatic
#0A0E25 #181F55 #253185 #3243B5 #5564D0

Accessibility & contrast

On white

11.31
#253185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#253185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253185
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253185#FFFFFF#000000##FFFFFF
##2531851.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #253185;
/* rgb */ color: rgb(37, 49, 133);
/* oklch */ color: oklch(36.0% 0.140 271.2);
Tailwind
colors: {
  custom: {
    50: '#6d69a9',
    500: '#253185',
    950: '#000000',
  },
}
SCSS
$custom: #253185;
$custom-light: #6d69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#253185",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 232.5,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3598,
    "c": 0.14028,
    "h": 271.2
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#253185
secondary
#B4A852
accent
#CD48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253185

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

Preview Lab → · Contrast checker → · Palette generator →

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