#253FA8#253FA8

#253FA8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.171 H 267.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#253FA8
RGBrgb(37, 63, 168)
HSLhsl(228, 64%, 40%)
HSVhsv(228, 78%, 66%)
CMYKcmyk(78%, 62.5%, 0%, 34.1%)
CIE-LABlab(31.29, 29.07, -59.08)
CIE-LCHlch(31.29, 65.85, 296.20°)
OKLaboklab(41.88% -0.0075 -0.1708)
OKLCHoklch(41.88% 0.171 267.5)
XYZxyz(9.6059, 6.7744, 37.8395)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253FA8 #A88E25
analogous
#2580A8 #253FA8 #4D25A8
triadic
#253FA8 #A8253F #3FA825
tetradic
#253FA8 #A82580 #A88E25 #25A84D
square
#253FA8 #A82580 #A88E25 #25A84D
split-complementary
#253FA8 #A84D25 #80A825
monochromatic
#0F1944 #1A2C76 #253FA8 #3756D3 #6981DE

Accessibility & contrast

On white

8.92
#253FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#253FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253FA8
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253FA8#FFFFFF#000000##FFFFFF
##253FA81.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #253fa8;
/* rgb */ color: rgb(37, 63, 168);
/* oklch */ color: oklch(41.9% 0.171 267.5);
Tailwind
colors: {
  custom: {
    50: '#7573c3',
    500: '#253fa8',
    950: '#000000',
  },
}
SCSS
$custom: #253fa8;
$custom-light: #7573c3;
$custom-dark: #000000;
JSON
{
  "hex": "#253fa8",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 228.092,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41884,
    "c": 0.171,
    "h": 267.5
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#253FA8
secondary
#C4B165
accent
#C641E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #253FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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