#253990#253990

#253990 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.146 H 268.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#253990
RGBrgb(37, 57, 144)
HSLhsl(229, 59%, 35%)
HSVhsv(229, 74%, 56%)
CMYKcmyk(74.3%, 60.4%, 0%, 43.5%)
CIE-LABlab(27.66, 23.93, -50.41)
CIE-LCHlch(27.66, 55.81, 295.40°)
OKLaboklab(38.56% -0.0034 -0.1455)
OKLCHoklch(38.56% 0.146 268.7)
XYZxyz(7.2584, 5.3324, 27.0269)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253990 #907C25
analogous
#256E90 #253990 #462590
triadic
#253990 #902539 #399025
tetradic
#253990 #90256E #907C25 #259046
square
#253990 #90256E #907C25 #259046
split-complementary
#253990 #904625 #6E9025
monochromatic
#0C122F #18265F #253990 #324CC1 #5B71D5

Accessibility & contrast

On white

10.16
#253990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#253990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253990
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253990#FFFFFF#000000##FFFFFF
##2539901.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253990;
/* rgb */ color: rgb(37, 57, 144);
/* oklch */ color: oklch(38.6% 0.146 268.7);
Tailwind
colors: {
  custom: {
    50: '#6f6fb1',
    500: '#253990',
    950: '#000000',
  },
}
SCSS
$custom: #253990;
$custom-light: #6f6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#253990",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 144
  },
  "hsl": {
    "h": 228.785,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.14551,
    "h": 268.7
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#253990
secondary
#B9A757
accent
#C545E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253990

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

Preview Lab → · Contrast checker → · Palette generator →

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