#253994#253994

#253994 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.151 H 268.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#253994
RGBrgb(37, 57, 148)
HSLhsl(229, 60%, 36%)
HSVhsv(229, 75%, 58%)
CMYKcmyk(75%, 61.5%, 0%, 42%)
CIE-LABlab(28.00, 25.47, -52.32)
CIE-LCHlch(28.00, 58.19, 295.96°)
OKLaboklab(38.91% -0.0034 -0.1511)
OKLCHoklch(38.91% 0.151 268.7)
XYZxyz(7.5695, 5.4569, 28.6656)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253994 #948025
analogous
#257194 #253994 #492594
triadic
#253994 #942539 #399425
tetradic
#253994 #942571 #948025 #259449
square
#253994 #942571 #948025 #259449
split-complementary
#253994 #944925 #719425
monochromatic
#0D1332 #192663 #253994 #314CC5 #5D73D6

Accessibility & contrast

On white

10.04
#253994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#253994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253994
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253994#FFFFFF#000000##FFFFFF
##2539941.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253994;
/* rgb */ color: rgb(37, 57, 148);
/* oklch */ color: oklch(38.9% 0.151 268.7);
Tailwind
colors: {
  custom: {
    50: '#706fb4',
    500: '#253994',
    950: '#000000',
  },
}
SCSS
$custom: #253994;
$custom-light: #706fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#253994",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 229.189,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38911,
    "c": 0.15112,
    "h": 268.7
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#253994
secondary
#BBAA59
accent
#C745E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253994

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

Preview Lab → · Contrast checker → · Palette generator →

#253994 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva