#253479#253479

#253479 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.119 H 270.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#253479
RGBrgb(37, 52, 121)
HSLhsl(229, 53%, 31%)
HSVhsv(229, 69%, 47%)
CMYKcmyk(69.4%, 57%, 0%, 52.5%)
CIE-LABlab(24.42, 18.50, -41.32)
CIE-LCHlch(24.42, 45.27, 294.11°)
OKLaboklab(35.54% 0.0001 -0.1188)
OKLCHoklch(35.54% 0.119 270.1)
XYZxyz(5.4410, 4.2293, 18.6150)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253479 #796A25
analogous
#255E79 #253479 #402579
triadic
#253479 #792534 #347925
tetradic
#253479 #79255E #796A25 #257940
square
#253479 #79255E #796A25 #257940
split-complementary
#253479 #794025 #5E7925
monochromatic
#080C1B #17204A #253479 #3348A8 #4F65C9

Accessibility & contrast

On white

11.38
#253479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#253479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253479
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253479#FFFFFF#000000##FFFFFF
##2534791.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #253479;
/* rgb */ color: rgb(37, 52, 121);
/* oklch */ color: oklch(35.5% 0.119 270.1);
Tailwind
colors: {
  custom: {
    50: '#6a6ba0',
    500: '#253479',
    950: '#000000',
  },
}
SCSS
$custom: #253479;
$custom-light: #6a6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#253479",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 229.286,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35542,
    "c": 0.11881,
    "h": 270.1
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#253479
secondary
#AB9B4E
accent
#C34BDD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #253479

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

Preview Lab → · Contrast checker → · Palette generator →

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