#253F94#253F94

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

Color values

HEX#253F94
RGBrgb(37, 63, 148)
HSLhsl(226, 60%, 36%)
HSVhsv(226, 75%, 58%)
CMYKcmyk(75%, 57.4%, 0%, 42%)
CIE-LABlab(29.63, 21.39, -49.67)
CIE-LCHlch(29.63, 54.08, 293.30°)
OKLaboklab(40.13% -0.008 -0.1432)
OKLCHoklch(40.13% 0.143 266.8)
XYZxyz(7.8839, 6.0856, 28.7704)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F94 #947A25
analogous
#257794 #253F94 #432594
triadic
#253F94 #94253F #3F9425
tetradic
#253F94 #942577 #947A25 #259443
square
#253F94 #942577 #947A25 #259443
split-complementary
#253F94 #944325 #779425
monochromatic
#0D1532 #192A63 #253F94 #3154C5 #5D79D6

Accessibility & contrast

On white

9.47
#253F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253F94
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F94#FFFFFF#000000##FFFFFF
##253F941.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253f94;
/* rgb */ color: rgb(37, 63, 148);
/* oklch */ color: oklch(40.1% 0.143 266.8);
Tailwind
colors: {
  custom: {
    50: '#7073b4',
    500: '#253f94',
    950: '#000000',
  },
}
SCSS
$custom: #253f94;
$custom-light: #7073b4;
$custom-dark: #000000;
JSON
{
  "hex": "#253f94",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 225.946,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40128,
    "c": 0.14342,
    "h": 266.8
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253F94

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

Preview Lab → · Contrast checker → · Palette generator →

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