#253F93#253F93

#253F93 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.142 H 266.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#253F93
RGBrgb(37, 63, 147)
HSLhsl(226, 60%, 36%)
HSVhsv(226, 75%, 58%)
CMYKcmyk(74.8%, 57.1%, 0%, 42.4%)
CIE-LABlab(29.55, 21.00, -49.19)
CIE-LCHlch(29.55, 53.48, 293.12°)
OKLaboklab(40.04% -0.008 -0.1418)
OKLCHoklch(40.04% 0.142 266.8)
XYZxyz(7.8051, 6.0541, 28.3553)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F93 #937925
analogous
#257693 #253F93 #422593
triadic
#253F93 #93253F #3F9325
tetradic
#253F93 #932576 #937925 #259342
square
#253F93 #932576 #937925 #259342
split-complementary
#253F93 #934225 #769325
monochromatic
#0C1531 #192A62 #253F93 #3154C4 #5C79D6

Accessibility & contrast

On white

9.50
#253F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#253F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F93
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F93#FFFFFF#000000##FFFFFF
##253F931.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253f93;
/* rgb */ color: rgb(37, 63, 147);
/* oklch */ color: oklch(40.0% 0.142 266.8);
Tailwind
colors: {
  custom: {
    50: '#7073b3',
    500: '#253f93',
    950: '#000000',
  },
}
SCSS
$custom: #253f93;
$custom-light: #7073b3;
$custom-dark: #000000;
JSON
{
  "hex": "#253f93",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 225.818,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40044,
    "c": 0.14201,
    "h": 266.8
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#253F93
secondary
#BBA459
accent
#BE45E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #253F93

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

Preview Lab → · Contrast checker → · Palette generator →

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