#253166#253166

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

Color values

HEX#253166
RGBrgb(37, 49, 102)
HSLhsl(229, 47%, 27%)
HSVhsv(229, 64%, 40%)
CMYKcmyk(63.7%, 52%, 0%, 60%)
CIE-LABlab(22.12, 13.28, -32.83)
CIE-LCHlch(22.12, 35.41, 292.02°)
OKLaboklab(33.36% 0.0015 -0.0939)
OKLCHoklch(33.36% 0.094 270.9)
XYZxyz(4.2587, 3.5489, 13.0284)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253166 #665A25
analogous
#255266 #253166 #3A2566
triadic
#253166 #662531 #316625
tetradic
#253166 #662552 #665A25 #25663A
square
#253166 #662552 #665A25 #25663A
split-complementary
#253166 #663A25 #526625
monochromatic
#080B16 #151B39 #253166 #354793 #495EBD

Accessibility & contrast

On white

12.28
#253166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253166
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253166#FFFFFF#000000##FFFFFF
##2531661.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253166;
/* rgb */ color: rgb(37, 49, 102);
/* oklch */ color: oklch(33.4% 0.094 270.9);
Tailwind
colors: {
  custom: {
    50: '#666892',
    500: '#253166',
    950: '#000000',
  },
}
SCSS
$custom: #253166;
$custom-light: #666892;
$custom-dark: #000000;
JSON
{
  "hex": "#253166",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 228.923,
    "s": 46.763,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33357,
    "c": 0.09388,
    "h": 270.9
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#253166
secondary
#998B4E
accent
#BE51D6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #253166

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

Preview Lab → · Contrast checker → · Palette generator →

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