#253FB4#253FB4

#253FB4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.187 H 267.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#253FB4
RGBrgb(37, 63, 180)
HSLhsl(229, 66%, 43%)
HSVhsv(229, 79%, 71%)
CMYKcmyk(79.4%, 65%, 0%, 29.4%)
CIE-LABlab(32.35, 33.58, -64.50)
CIE-LCHlch(32.35, 72.72, 297.50°)
OKLaboklab(43% -0.0079 -0.1867)
OKLCHoklch(43% 0.187 267.6)
XYZxyz(10.7758, 7.2424, 44.0012)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253FB4 #B49A25
analogous
#2586B4 #253FB4 #5325B4
triadic
#253FB4 #B4253F #3FB425
tetradic
#253FB4 #B42586 #B49A25 #25B453
square
#253FB4 #B42586 #B49A25 #25B453
split-complementary
#253FB4 #B45325 #86B425
monochromatic
#101B4E #1B2D81 #253FB4 #3F5AD7 #7186E2

Accessibility & contrast

On white

8.58
#253FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#253FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253FB4
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253FB4#FFFFFF#000000##FFFFFF
##253FB41.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #253fb4;
/* rgb */ color: rgb(37, 63, 180);
/* oklch */ color: oklch(43.0% 0.187 267.6);
Tailwind
colors: {
  custom: {
    50: '#7874cb',
    500: '#253fb4',
    950: '#000000',
  },
}
SCSS
$custom: #253fb4;
$custom-light: #7874cb;
$custom-dark: #000000;
JSON
{
  "hex": "#253fb4",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 229.091,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42997,
    "c": 0.18686,
    "h": 267.6
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#253FB4
secondary
#C9B86C
accent
#CA3FE9
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #253FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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