#253266#253266

#253266 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.092 H 270.2°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#253266
RGBrgb(37, 50, 102)
HSLhsl(228, 47%, 27%)
HSVhsv(228, 64%, 40%)
CMYKcmyk(63.7%, 51%, 0%, 60%)
CIE-LABlab(22.42, 12.57, -32.35)
CIE-LCHlch(22.42, 34.70, 291.23°)
OKLaboklab(33.59% 0.0004 -0.0924)
OKLCHoklch(33.59% 0.092 270.2)
XYZxyz(4.3010, 3.6335, 13.0425)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253266 #665925
analogous
#255366 #253266 #392566
triadic
#253266 #662532 #326625
tetradic
#253266 #662553 #665925 #256639
square
#253266 #662553 #665925 #256639
split-complementary
#253266 #663925 #536625
monochromatic
#080B16 #151C39 #253266 #354893 #4960BD

Accessibility & contrast

On white

12.16
#253266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#253266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253266
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253266#FFFFFF#000000##FFFFFF
##2532661.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183968
Deuteranopia (green-blind)
#0D3365
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #253266;
/* rgb */ color: rgb(37, 50, 102);
/* oklch */ color: oklch(33.6% 0.092 270.2);
Tailwind
colors: {
  custom: {
    50: '#666992',
    500: '#253266',
    950: '#000000',
  },
}
SCSS
$custom: #253266;
$custom-light: #666992;
$custom-dark: #000000;
JSON
{
  "hex": "#253266",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 228,
    "s": 46.763,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33585,
    "c": 0.09244,
    "h": 270.2
  },
  "luminance": 0.03634
}

Semantic roles & 50–950 ramp

primary
#253266
secondary
#998A4E
accent
#BC51D6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #253266

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

Preview Lab → · Contrast checker → · Palette generator →

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