#253F95#253F95

#253F95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.145 H 266.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#253F95
RGBrgb(37, 63, 149)
HSLhsl(226, 60%, 36%)
HSVhsv(226, 75%, 58%)
CMYKcmyk(75.2%, 57.7%, 0%, 41.6%)
CIE-LABlab(29.71, 21.78, -50.15)
CIE-LCHlch(29.71, 54.68, 293.47°)
OKLaboklab(40.21% -0.0079 -0.1446)
OKLCHoklch(40.21% 0.145 266.9)
XYZxyz(7.9634, 6.1174, 29.1890)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F95 #957B25
analogous
#257795 #253F95 #432595
triadic
#253F95 #95253F #3F9525
tetradic
#253F95 #952577 #957B25 #259543
square
#253F95 #952577 #957B25 #259543
split-complementary
#253F95 #954325 #779525
monochromatic
#0D1633 #192A64 #253F95 #3154C6 #5E7AD7

Accessibility & contrast

On white

9.44
#253F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#253F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F95
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F95#FFFFFF#000000##FFFFFF
##253F951.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253f95;
/* rgb */ color: rgb(37, 63, 149);
/* oklch */ color: oklch(40.2% 0.145 266.9);
Tailwind
colors: {
  custom: {
    50: '#7073b5',
    500: '#253f95',
    950: '#000000',
  },
}
SCSS
$custom: #253f95;
$custom-light: #7073b5;
$custom-dark: #000000;
JSON
{
  "hex": "#253f95",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 226.071,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.14484,
    "h": 266.9
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#253F95
secondary
#BCA55A
accent
#BE44E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #253F95

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

Preview Lab → · Contrast checker → · Palette generator →

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