#253167#253167

#253167 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.095 H 271.0°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#253167
RGBrgb(37, 49, 103)
HSLhsl(229, 47%, 27%)
HSVhsv(229, 64%, 40%)
CMYKcmyk(64.1%, 52.4%, 0%, 59.6%)
CIE-LABlab(22.19, 13.66, -33.36)
CIE-LCHlch(22.19, 36.05, 292.27°)
OKLaboklab(33.43% 0.0017 -0.0954)
OKLCHoklch(33.43% 0.095 271)
XYZxyz(4.3086, 3.5689, 13.2911)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253167 #675B25
analogous
#255267 #253167 #3A2567
triadic
#253167 #672531 #316725
tetradic
#253167 #672552 #675B25 #25673A
square
#253167 #672552 #675B25 #25673A
split-complementary
#253167 #673A25 #526725
monochromatic
#080B17 #151C3A #253167 #354694 #495EBE

Accessibility & contrast

On white

12.25
#253167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#253167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253167
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253167#FFFFFF#000000##FFFFFF
##2531671.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153869
Deuteranopia (green-blind)
#083266
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #253167;
/* rgb */ color: rgb(37, 49, 103);
/* oklch */ color: oklch(33.4% 0.095 271.0);
Tailwind
colors: {
  custom: {
    50: '#676893',
    500: '#253167',
    950: '#000000',
  },
}
SCSS
$custom: #253167;
$custom-light: #676893;
$custom-dark: #000000;
JSON
{
  "hex": "#253167",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 229.091,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33434,
    "c": 0.09546,
    "h": 271
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#253167
secondary
#9A8C4E
accent
#BE51D7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #253167

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

Preview Lab → · Contrast checker → · Palette generator →

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