#253285#253285

#253285 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.139 H 270.9°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#253285
RGBrgb(37, 50, 133)
HSLhsl(232, 56%, 33%)
HSVhsv(232, 72%, 52%)
CMYKcmyk(72.2%, 62.4%, 0%, 47.8%)
CIE-LABlab(24.85, 24.50, -48.17)
CIE-LCHlch(24.85, 54.04, 296.96°)
OKLaboklab(36.18% 0.0021 -0.139)
OKLCHoklch(36.18% 0.139 270.9)
XYZxyz(6.1358, 4.3674, 22.7054)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253285 #857825
analogous
#256285 #253285 #482585
triadic
#253285 #852532 #328525
tetradic
#253285 #852562 #857825 #258548
square
#253285 #852562 #857825 #258548
split-complementary
#253285 #854825 #628525
monochromatic
#0A0E25 #182055 #253285 #3244B5 #5565D0

Accessibility & contrast

On white

11.21
#253285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#253285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253285
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253285#FFFFFF#000000##FFFFFF
##2532851.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #253285;
/* rgb */ color: rgb(37, 50, 133);
/* oklch */ color: oklch(36.2% 0.139 270.9);
Tailwind
colors: {
  custom: {
    50: '#6d69a9',
    500: '#253285',
    950: '#000000',
  },
}
SCSS
$custom: #253285;
$custom-light: #6d69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#253285",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 231.875,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36176,
    "c": 0.13899,
    "h": 270.9
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#253285
secondary
#B4A752
accent
#CB48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253285

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

Preview Lab → · Contrast checker → · Palette generator →

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