#253490#253490

#253490 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.152 H 270.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#253490
RGBrgb(37, 52, 144)
HSLhsl(232, 59%, 35%)
HSVhsv(232, 74%, 56%)
CMYKcmyk(74.3%, 63.9%, 0%, 43.5%)
CIE-LABlab(26.34, 27.32, -52.57)
CIE-LCHlch(26.34, 59.25, 297.46°)
OKLaboklab(37.57% 0.0003 -0.1519)
OKLCHoklch(37.57% 0.152 270.1)
XYZxyz(7.0233, 4.8622, 26.9485)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253490 #908125
analogous
#256990 #253490 #4B2590
triadic
#253490 #902534 #349025
tetradic
#253490 #902569 #908125 #25904B
square
#253490 #902569 #908125 #25904B
split-complementary
#253490 #904B25 #699025
monochromatic
#0C112F #18225F #253490 #3246C1 #5B6CD5

Accessibility & contrast

On white

10.65
#253490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#253490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253490
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253490#FFFFFF#000000##FFFFFF
##2534901.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253490;
/* rgb */ color: rgb(37, 52, 144);
/* oklch */ color: oklch(37.6% 0.152 270.1);
Tailwind
colors: {
  custom: {
    50: '#706bb1',
    500: '#253490',
    950: '#000000',
  },
}
SCSS
$custom: #253490;
$custom-light: #706bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#253490",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 231.589,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37575,
    "c": 0.15187,
    "h": 270.1
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#253490
secondary
#B9AC57
accent
#CC45E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253490

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

Preview Lab → · Contrast checker → · Palette generator →

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