#253277#253277

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

Color values

HEX#253277
RGBrgb(37, 50, 119)
HSLhsl(230, 53%, 31%)
HSVhsv(230, 69%, 47%)
CMYKcmyk(68.9%, 58%, 0%, 53.3%)
CIE-LABlab(23.69, 19.12, -41.22)
CIE-LCHlch(23.69, 45.44, 294.88°)
OKLaboklab(34.95% 0.0019 -0.1186)
OKLCHoklch(34.95% 0.119 270.9)
XYZxyz(5.2322, 4.0059, 17.9467)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253277 #776A25
analogous
#255B77 #253277 #412577
triadic
#253277 #772532 #327725
tetradic
#253277 #77255B #776A25 #257741
square
#253277 #77255B #776A25 #257741
split-complementary
#253277 #774125 #5B7725
monochromatic
#080B1A #161E48 #253277 #3446A6 #4E62C8

Accessibility & contrast

On white

11.66
#253277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253277
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253277#FFFFFF#000000##FFFFFF
##2532771.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #253277;
/* rgb */ color: rgb(37, 50, 119);
/* oklch */ color: oklch(34.9% 0.119 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a699f',
    500: '#253277',
    950: '#000000',
  },
}
SCSS
$custom: #253277;
$custom-light: #6a699f;
$custom-dark: #000000;
JSON
{
  "hex": "#253277",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 230.488,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34949,
    "c": 0.11858,
    "h": 270.9
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253277

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

Preview Lab → · Contrast checker → · Palette generator →

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