#253F92#253F92

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

Color values

HEX#253F92
RGBrgb(37, 63, 146)
HSLhsl(226, 60%, 36%)
HSVhsv(226, 75%, 57%)
CMYKcmyk(74.7%, 56.8%, 0%, 42.7%)
CIE-LABlab(29.47, 20.61, -48.70)
CIE-LCHlch(29.47, 52.88, 292.94°)
OKLaboklab(39.96% -0.0081 -0.1403)
OKLCHoklch(39.96% 0.141 266.7)
XYZxyz(7.7270, 6.0228, 27.9439)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F92 #927825
analogous
#257592 #253F92 #412592
triadic
#253F92 #92253F #3F9225
tetradic
#253F92 #922575 #927825 #259241
square
#253F92 #922575 #927825 #259241
split-complementary
#253F92 #924125 #759225
monochromatic
#0C1530 #192A61 #253F92 #3154C3 #5C79D6

Accessibility & contrast

On white

9.52
#253F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253F92
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F92#FFFFFF#000000##FFFFFF
##253F921.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253f92;
/* rgb */ color: rgb(37, 63, 146);
/* oklch */ color: oklch(40.0% 0.141 266.7);
Tailwind
colors: {
  custom: {
    50: '#7073b3',
    500: '#253f92',
    950: '#000000',
  },
}
SCSS
$custom: #253f92;
$custom-light: #7073b3;
$custom-dark: #000000;
JSON
{
  "hex": "#253f92",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 225.688,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3996,
    "c": 0.14058,
    "h": 266.7
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#253F92
secondary
#BAA358
accent
#BD45E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #253F92

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

Preview Lab → · Contrast checker → · Palette generator →

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