#253785#253785

#253785 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.132 H 269.1°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#253785
RGBrgb(37, 55, 133)
HSLhsl(229, 56%, 33%)
HSVhsv(229, 72%, 52%)
CMYKcmyk(72.2%, 58.6%, 0%, 47.8%)
CIE-LABlab(26.21, 21.06, -45.95)
CIE-LCHlch(26.21, 50.55, 294.62°)
OKLaboklab(37.19% -0.002 -0.1324)
OKLCHoklch(37.19% 0.132 269.1)
XYZxyz(6.3613, 4.8185, 22.7806)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253785 #857325
analogous
#256785 #253785 #432585
triadic
#253785 #852537 #378525
tetradic
#253785 #852567 #857325 #258543
square
#253785 #852567 #857325 #258543
split-complementary
#253785 #854325 #678525
monochromatic
#0A0F25 #182355 #253785 #324BB5 #556CD0

Accessibility & contrast

On white

10.69
#253785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#253785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253785
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253785#FFFFFF#000000##FFFFFF
##2537851.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253785;
/* rgb */ color: rgb(37, 55, 133);
/* oklch */ color: oklch(37.2% 0.132 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d6da9',
    500: '#253785',
    950: '#000000',
  },
}
SCSS
$custom: #253785;
$custom-light: #6d6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#253785",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 228.75,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37189,
    "c": 0.13242,
    "h": 269.1
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#253785
secondary
#B4A252
accent
#C348E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253785

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

Preview Lab → · Contrast checker → · Palette generator →

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