#253D90#253D90

#253D90 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.140 H 267.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#253D90
RGBrgb(37, 61, 144)
HSLhsl(227, 59%, 35%)
HSVhsv(227, 74%, 56%)
CMYKcmyk(74.3%, 57.6%, 0%, 43.5%)
CIE-LABlab(28.76, 21.20, -48.63)
CIE-LCHlch(28.76, 53.05, 293.55°)
OKLaboklab(39.37% -0.0066 -0.1402)
OKLCHoklch(39.37% 0.14 267.3)
XYZxyz(7.4640, 5.7436, 27.0954)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D90 #907825
analogous
#257290 #253D90 #422590
triadic
#253D90 #90253D #3D9025
tetradic
#253D90 #902572 #907825 #259042
square
#253D90 #902572 #907825 #259042
split-complementary
#253D90 #904225 #729025
monochromatic
#0C142F #18285F #253D90 #3252C1 #5B76D5

Accessibility & contrast

On white

9.77
#253D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#253D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D90
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D90#FFFFFF#000000##FFFFFF
##253D901.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253d90;
/* rgb */ color: rgb(37, 61, 144);
/* oklch */ color: oklch(39.4% 0.140 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f72b1',
    500: '#253d90',
    950: '#000000',
  },
}
SCSS
$custom: #253d90;
$custom-light: #6f72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#253d90",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 226.542,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.14033,
    "h": 267.3
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#253D90
secondary
#B9A357
accent
#BF45E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253D90

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

Preview Lab → · Contrast checker → · Palette generator →

#253D90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva