#253164#253164

#253164 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.091 H 270.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#253164
RGBrgb(37, 49, 100)
HSLhsl(229, 46%, 27%)
HSVhsv(229, 63%, 39%)
CMYKcmyk(63%, 51%, 0%, 60.8%)
CIE-LABlab(21.98, 12.51, -31.75)
CIE-LCHlch(21.98, 34.13, 291.51°)
OKLaboklab(33.21% 0.0013 -0.0907)
OKLCHoklch(33.21% 0.091 270.8)
XYZxyz(4.1607, 3.5097, 12.5123)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253164 #645825
analogous
#255164 #253164 #392564
triadic
#253164 #642531 #316425
tetradic
#253164 #642551 #645825 #256439
square
#253164 #642551 #645825 #256439
split-complementary
#253164 #643925 #516425
monochromatic
#080B16 #141B37 #253164 #364791 #485EBB

Accessibility & contrast

On white

12.34
#253164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#253164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253164
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253164#FFFFFF#000000##FFFFFF
##2531641.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183866
Deuteranopia (green-blind)
#0D3263
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #253164;
/* rgb */ color: rgb(37, 49, 100);
/* oklch */ color: oklch(33.2% 0.091 270.8);
Tailwind
colors: {
  custom: {
    50: '#666890',
    500: '#253164',
    950: '#000000',
  },
}
SCSS
$custom: #253164;
$custom-light: #666890;
$custom-dark: #000000;
JSON
{
  "hex": "#253164",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 100
  },
  "hsl": {
    "h": 228.571,
    "s": 45.985,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33205,
    "c": 0.09072,
    "h": 270.8
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#253164
secondary
#97894E
accent
#BD52D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #253164

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

Preview Lab → · Contrast checker → · Palette generator →

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