#253079#253079

#253079 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.124 H 271.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#253079
RGBrgb(37, 48, 121)
HSLhsl(232, 53%, 31%)
HSVhsv(232, 69%, 47%)
CMYKcmyk(69.4%, 60.3%, 0%, 52.5%)
CIE-LABlab(23.30, 21.28, -43.14)
CIE-LCHlch(23.30, 48.10, 296.26°)
OKLaboklab(34.7% 0.0039 -0.1242)
OKLCHoklch(34.7% 0.124 271.8)
XYZxyz(5.2699, 3.8872, 18.5580)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253079 #796E25
analogous
#255A79 #253079 #442579
triadic
#253079 #792530 #307925
tetradic
#253079 #79255A #796E25 #257944
square
#253079 #79255A #796E25 #257944
split-complementary
#253079 #794425 #5A7925
monochromatic
#080B1B #171D4A #253079 #3343A8 #4F5FC9

Accessibility & contrast

On white

11.81
#253079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#253079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253079
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253079#FFFFFF#000000##FFFFFF
##2530791.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253079;
/* rgb */ color: rgb(37, 48, 121);
/* oklch */ color: oklch(34.7% 0.124 271.8);
Tailwind
colors: {
  custom: {
    50: '#6b68a0',
    500: '#253079',
    950: '#000000',
  },
}
SCSS
$custom: #253079;
$custom-light: #6b68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#253079",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 121
  },
  "hsl": {
    "h": 232.143,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34704,
    "c": 0.12427,
    "h": 271.8
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#253079
secondary
#AB9F4E
accent
#CA4BDD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #253079

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

Preview Lab → · Contrast checker → · Palette generator →

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