#253B95#253B95

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

Color values

HEX#253B95
RGBrgb(37, 59, 149)
HSLhsl(228, 60%, 36%)
HSVhsv(228, 75%, 58%)
CMYKcmyk(75.2%, 60.4%, 0%, 41.6%)
CIE-LABlab(28.62, 24.50, -51.93)
CIE-LCHlch(28.62, 57.42, 295.26°)
OKLaboklab(39.4% -0.0048 -0.1499)
OKLCHoklch(39.4% 0.15 268.2)
XYZxyz(7.7499, 5.6903, 29.1179)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B95 #957F25
analogous
#257395 #253B95 #472595
triadic
#253B95 #95253B #3B9525
tetradic
#253B95 #952573 #957F25 #259547
square
#253B95 #952573 #957F25 #259547
split-complementary
#253B95 #954725 #739525
monochromatic
#0D1433 #192864 #253B95 #314EC6 #5E75D7

Accessibility & contrast

On white

9.82
#253B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#253B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B95
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B95#FFFFFF#000000##FFFFFF
##253B951.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253b95;
/* rgb */ color: rgb(37, 59, 149);
/* oklch */ color: oklch(39.4% 0.150 268.2);
Tailwind
colors: {
  custom: {
    50: '#7170b5',
    500: '#253b95',
    950: '#000000',
  },
}
SCSS
$custom: #253b95;
$custom-light: #7170b5;
$custom-dark: #000000;
JSON
{
  "hex": "#253b95",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 228.214,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39398,
    "c": 0.14997,
    "h": 268.2
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#253B95
secondary
#BCA95A
accent
#C444E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253B95

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

Preview Lab → · Contrast checker → · Palette generator →

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