#253D95#253D95

#253D95 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.147 H 267.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#253D95
RGBrgb(37, 61, 149)
HSLhsl(227, 60%, 36%)
HSVhsv(227, 75%, 58%)
CMYKcmyk(75.2%, 59.1%, 0%, 41.6%)
CIE-LABlab(29.16, 23.14, -51.05)
CIE-LCHlch(29.16, 56.04, 294.38°)
OKLaboklab(39.8% -0.0063 -0.1473)
OKLCHoklch(39.8% 0.147 267.5)
XYZxyz(7.8546, 5.8999, 29.1528)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D95 #957D25
analogous
#257595 #253D95 #452595
triadic
#253D95 #95253D #3D9525
tetradic
#253D95 #952575 #957D25 #259545
square
#253D95 #952575 #957D25 #259545
split-complementary
#253D95 #954525 #759525
monochromatic
#0D1533 #192964 #253D95 #3151C6 #5E78D7

Accessibility & contrast

On white

9.63
#253D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#253D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D95
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D95#FFFFFF#000000##FFFFFF
##253D951.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253d95;
/* rgb */ color: rgb(37, 61, 149);
/* oklch */ color: oklch(39.8% 0.147 267.5);
Tailwind
colors: {
  custom: {
    50: '#7072b5',
    500: '#253d95',
    950: '#000000',
  },
}
SCSS
$custom: #253d95;
$custom-light: #7072b5;
$custom-dark: #000000;
JSON
{
  "hex": "#253d95",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 227.143,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39802,
    "c": 0.14742,
    "h": 267.5
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

primary
#253D95
secondary
#BCA75A
accent
#C144E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253D95

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

Preview Lab → · Contrast checker → · Palette generator →

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