#253673#253673

#253673 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.107 H 268.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#253673
RGBrgb(37, 54, 115)
HSLhsl(227, 51%, 30%)
HSVhsv(227, 68%, 45%)
CMYKcmyk(67.8%, 53%, 0%, 54.9%)
CIE-LABlab(24.54, 14.77, -37.30)
CIE-LCHlch(24.54, 40.12, 291.60°)
OKLaboklab(35.49% -0.0024 -0.107)
OKLCHoklch(35.49% 0.107 268.7)
XYZxyz(5.1756, 4.2690, 16.7676)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253673 #736225
analogous
#255D73 #253673 #3B2573
triadic
#253673 #732536 #367325
tetradic
#253673 #73255D #736225 #25733B
square
#253673 #73255D #736225 #25733B
split-complementary
#253673 #733B25 #5D7325
monochromatic
#070B17 #162045 #253673 #344CA1 #4D67C6

Accessibility & contrast

On white

11.33
#253673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253673
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253673#FFFFFF#000000##FFFFFF
##2536731.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #253673;
/* rgb */ color: rgb(37, 54, 115);
/* oklch */ color: oklch(35.5% 0.107 268.7);
Tailwind
colors: {
  custom: {
    50: '#696c9c',
    500: '#253673',
    950: '#000000',
  },
}
SCSS
$custom: #253673;
$custom-light: #696c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#253673",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 115
  },
  "hsl": {
    "h": 226.923,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35493,
    "c": 0.10699,
    "h": 268.7
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#253673
secondary
#A6934E
accent
#BC4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253673

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

Preview Lab → · Contrast checker → · Palette generator →

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