#253276#253276

#253276 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.117 H 270.9°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#253276
RGBrgb(37, 50, 118)
HSLhsl(230, 52%, 30%)
HSVhsv(230, 69%, 46%)
CMYKcmyk(68.6%, 57.6%, 0%, 53.7%)
CIE-LABlab(23.61, 18.74, -40.72)
CIE-LCHlch(23.61, 44.82, 294.71°)
OKLaboklab(34.87% 0.0019 -0.1171)
OKLCHoklch(34.87% 0.117 270.9)
XYZxyz(5.1725, 3.9821, 17.6321)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253276 #766925
analogous
#255B76 #253276 #402576
triadic
#253276 #762532 #327625
tetradic
#253276 #76255B #766925 #257640
square
#253276 #76255B #766925 #257640
split-complementary
#253276 #764025 #5B7625
monochromatic
#080B19 #161E47 #253276 #3446A5 #4E61C7

Accessibility & contrast

On white

11.69
#253276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#253276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253276
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253276#FFFFFF#000000##FFFFFF
##2532761.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #253276;
/* rgb */ color: rgb(37, 50, 118);
/* oklch */ color: oklch(34.9% 0.117 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a699e',
    500: '#253276',
    950: '#000000',
  },
}
SCSS
$custom: #253276;
$custom-light: #6a699e;
$custom-dark: #000000;
JSON
{
  "hex": "#253276",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 230.37,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34865,
    "c": 0.11709,
    "h": 270.9
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#253276
secondary
#A99A4E
accent
#C54CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #253276

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

Preview Lab → · Contrast checker → · Palette generator →

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