#253168#253168

#253168 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.097 H 271.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#253168
RGBrgb(37, 49, 104)
HSLhsl(229, 48%, 28%)
HSVhsv(229, 64%, 41%)
CMYKcmyk(64.4%, 52.9%, 0%, 59.2%)
CIE-LABlab(22.26, 14.04, -33.90)
CIE-LCHlch(22.26, 36.69, 292.50°)
OKLaboklab(33.51% 0.0018 -0.097)
OKLCHoklch(33.51% 0.097 271.1)
XYZxyz(4.3591, 3.5891, 13.5571)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253168 #685C25
analogous
#255268 #253168 #3B2568
triadic
#253168 #682531 #316825
tetradic
#253168 #682552 #685C25 #25683B
square
#253168 #682552 #685C25 #25683B
split-complementary
#253168 #683B25 #526825
monochromatic
#080B17 #151C3B #253168 #354695 #495EBE

Accessibility & contrast

On white

12.22
#253168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#253168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253168
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253168#FFFFFF#000000##FFFFFF
##2531681.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14386A
Deuteranopia (green-blind)
#063267
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #253168;
/* rgb */ color: rgb(37, 49, 104);
/* oklch */ color: oklch(33.5% 0.097 271.1);
Tailwind
colors: {
  custom: {
    50: '#676893',
    500: '#253168',
    950: '#000000',
  },
}
SCSS
$custom: #253168;
$custom-light: #676893;
$custom-dark: #000000;
JSON
{
  "hex": "#253168",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 229.254,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33511,
    "c": 0.09704,
    "h": 271.1
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#253168
secondary
#9B8D4E
accent
#BF51D7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #253168

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

Preview Lab → · Contrast checker → · Palette generator →

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