#253A95#253A95

#253A95 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.151 H 268.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#253A95
RGBrgb(37, 58, 149)
HSLhsl(229, 60%, 36%)
HSVhsv(229, 75%, 58%)
CMYKcmyk(75.2%, 61.1%, 0%, 41.6%)
CIE-LABlab(28.35, 25.18, -52.36)
CIE-LCHlch(28.35, 58.10, 295.68°)
OKLaboklab(39.2% -0.0041 -0.1512)
OKLCHoklch(39.2% 0.151 268.5)
XYZxyz(7.6989, 5.5885, 29.1009)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A95 #958025
analogous
#257295 #253A95 #482595
triadic
#253A95 #95253A #3A9525
tetradic
#253A95 #952572 #958025 #259548
square
#253A95 #952572 #958025 #259548
split-complementary
#253A95 #954825 #729525
monochromatic
#0D1433 #192764 #253A95 #314DC6 #5E74D7

Accessibility & contrast

On white

9.92
#253A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#253A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A95
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A95#FFFFFF#000000##FFFFFF
##253A951.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253a95;
/* rgb */ color: rgb(37, 58, 149);
/* oklch */ color: oklch(39.2% 0.151 268.5);
Tailwind
colors: {
  custom: {
    50: '#716fb5',
    500: '#253a95',
    950: '#000000',
  },
}
SCSS
$custom: #253a95;
$custom-light: #716fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#253a95",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 228.75,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39198,
    "c": 0.15125,
    "h": 268.5
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253A95

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

Preview Lab → · Contrast checker → · Palette generator →

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