#253165#253165

#253165 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.092 H 270.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#253165
RGBrgb(37, 49, 101)
HSLhsl(229, 46%, 27%)
HSVhsv(229, 63%, 40%)
CMYKcmyk(63.4%, 51.5%, 0%, 60.4%)
CIE-LABlab(22.05, 12.89, -32.29)
CIE-LCHlch(22.05, 34.77, 291.77°)
OKLaboklab(33.28% 0.0014 -0.0923)
OKLCHoklch(33.28% 0.092 270.9)
XYZxyz(4.2094, 3.5292, 12.7688)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253165 #655925
analogous
#255165 #253165 #392565
triadic
#253165 #652531 #316525
tetradic
#253165 #652551 #655925 #256539
square
#253165 #652551 #655925 #256539
split-complementary
#253165 #653925 #516525
monochromatic
#080B16 #151B38 #253165 #354792 #485EBC

Accessibility & contrast

On white

12.31
#253165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253165
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253165#FFFFFF#000000##FFFFFF
##2531651.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173867
Deuteranopia (green-blind)
#0C3264
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #253165;
/* rgb */ color: rgb(37, 49, 101);
/* oklch */ color: oklch(33.3% 0.092 270.9);
Tailwind
colors: {
  custom: {
    50: '#666891',
    500: '#253165',
    950: '#000000',
  },
}
SCSS
$custom: #253165;
$custom-light: #666891;
$custom-dark: #000000;
JSON
{
  "hex": "#253165",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 101
  },
  "hsl": {
    "h": 228.75,
    "s": 46.377,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3328,
    "c": 0.0923,
    "h": 270.9
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#253165
secondary
#988A4E
accent
#BD52D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060D
muted
#7A7A7D

Preview Lab

Preview with #253165

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

Preview Lab → · Contrast checker → · Palette generator →

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