#253C95#253C95

#253C95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.149 H 267.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#253C95
RGBrgb(37, 60, 149)
HSLhsl(228, 60%, 36%)
HSVhsv(228, 75%, 58%)
CMYKcmyk(75.2%, 59.7%, 0%, 41.6%)
CIE-LABlab(28.89, 23.82, -51.49)
CIE-LCHlch(28.89, 56.73, 294.83°)
OKLaboklab(39.6% -0.0056 -0.1486)
OKLCHoklch(39.6% 0.149 267.8)
XYZxyz(7.8017, 5.7941, 29.1352)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C95 #957E25
analogous
#257495 #253C95 #462595
triadic
#253C95 #95253C #3C9525
tetradic
#253C95 #952574 #957E25 #259546
square
#253C95 #952574 #957E25 #259546
split-complementary
#253C95 #954625 #749525
monochromatic
#0D1533 #192864 #253C95 #3150C6 #5E76D7

Accessibility & contrast

On white

9.73
#253C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#253C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C95
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C95#FFFFFF#000000##FFFFFF
##253C951.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253c95;
/* rgb */ color: rgb(37, 60, 149);
/* oklch */ color: oklch(39.6% 0.149 267.8);
Tailwind
colors: {
  custom: {
    50: '#7071b5',
    500: '#253c95',
    950: '#000000',
  },
}
SCSS
$custom: #253c95;
$custom-light: #7071b5;
$custom-dark: #000000;
JSON
{
  "hex": "#253c95",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 227.679,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39599,
    "c": 0.1487,
    "h": 267.8
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#253C95
secondary
#BCA85A
accent
#C344E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253C95

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

Preview Lab → · Contrast checker → · Palette generator →

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