#253FA3#253FA3

#253FA3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.164 H 267.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#253FA3
RGBrgb(37, 63, 163)
HSLhsl(228, 63%, 39%)
HSVhsv(228, 77%, 64%)
CMYKcmyk(77.3%, 61.3%, 0%, 36.1%)
CIE-LABlab(30.86, 27.17, -56.78)
CIE-LCHlch(30.86, 62.94, 295.57°)
OKLaboklab(41.43% -0.0075 -0.1641)
OKLCHoklch(41.43% 0.164 267.4)
XYZxyz(9.1490, 6.5917, 35.4334)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253FA3 #A38925
analogous
#257EA3 #253FA3 #4A25A3
triadic
#253FA3 #A3253F #3FA325
tetradic
#253FA3 #A3257E #A38925 #25A34A
square
#253FA3 #A3257E #A38925 #25A34A
split-complementary
#253FA3 #A34A25 #7EA325
monochromatic
#0E183F #1A2C71 #253FA3 #3455D1 #667EDC

Accessibility & contrast

On white

9.06
#253FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#253FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253FA3
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253FA3#FFFFFF#000000##FFFFFF
##253FA31.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #253fa3;
/* rgb */ color: rgb(37, 63, 163);
/* oklch */ color: oklch(41.4% 0.164 267.4);
Tailwind
colors: {
  custom: {
    50: '#7473bf',
    500: '#253fa3',
    950: '#000000',
  },
}
SCSS
$custom: #253fa3;
$custom-light: #7473bf;
$custom-dark: #000000;
JSON
{
  "hex": "#253fa3",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 227.619,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.16424,
    "h": 267.4
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#253FA3
secondary
#C2AE62
accent
#C442E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #253FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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