#253279#253279

#253279 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.122 H 271.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#253279
RGBrgb(37, 50, 121)
HSLhsl(231, 53%, 31%)
HSVhsv(231, 69%, 47%)
CMYKcmyk(69.4%, 58.7%, 0%, 52.5%)
CIE-LABlab(23.85, 19.89, -42.24)
CIE-LCHlch(23.85, 46.69, 295.22°)
OKLaboklab(35.12% 0.002 -0.1215)
OKLCHoklch(35.12% 0.122 271)
XYZxyz(5.3536, 4.0545, 18.5859)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253279 #796C25
analogous
#255C79 #253279 #422579
triadic
#253279 #792532 #327925
tetradic
#253279 #79255C #796C25 #257942
square
#253279 #79255C #796C25 #257942
split-complementary
#253279 #794225 #5C7925
monochromatic
#080B1B #171F4A #253279 #3345A8 #4F62C9

Accessibility & contrast

On white

11.60
#253279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#253279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253279
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253279#FFFFFF#000000##FFFFFF
##2532791.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #253279;
/* rgb */ color: rgb(37, 50, 121);
/* oklch */ color: oklch(35.1% 0.122 271.0);
Tailwind
colors: {
  custom: {
    50: '#6b69a0',
    500: '#253279',
    950: '#000000',
  },
}
SCSS
$custom: #253279;
$custom-light: #6b69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#253279",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 230.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35119,
    "c": 0.12155,
    "h": 271
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#253279
secondary
#AB9D4E
accent
#C64BDD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #253279

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

Preview Lab → · Contrast checker → · Palette generator →

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