#253E95#253E95

#253E95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.146 H 267.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#253E95
RGBrgb(37, 62, 149)
HSLhsl(227, 60%, 36%)
HSVhsv(227, 75%, 58%)
CMYKcmyk(75.2%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.43, 22.46, -50.60)
CIE-LCHlch(29.43, 55.36, 293.93°)
OKLaboklab(40.01% -0.0071 -0.1459)
OKLCHoklch(40.01% 0.146 267.2)
XYZxyz(7.9085, 6.0076, 29.1707)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E95 #957C25
analogous
#257695 #253E95 #442595
triadic
#253E95 #95253E #3E9525
tetradic
#253E95 #952576 #957C25 #259544
square
#253E95 #952576 #957C25 #259544
split-complementary
#253E95 #954425 #769525
monochromatic
#0D1533 #192A64 #253E95 #3152C6 #5E79D7

Accessibility & contrast

On white

9.54
#253E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#253E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E95
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E95#FFFFFF#000000##FFFFFF
##253E951.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253e95;
/* rgb */ color: rgb(37, 62, 149);
/* oklch */ color: oklch(40.0% 0.146 267.2);
Tailwind
colors: {
  custom: {
    50: '#7072b5',
    500: '#253e95',
    950: '#000000',
  },
}
SCSS
$custom: #253e95;
$custom-light: #7072b5;
$custom-dark: #000000;
JSON
{
  "hex": "#253e95",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 226.607,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40006,
    "c": 0.14612,
    "h": 267.2
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#253E95
secondary
#BCA65A
accent
#C044E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #253E95

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

Preview Lab → · Contrast checker → · Palette generator →

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