#253FA1#253FA1

#253FA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.162 H 267.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#253FA1
RGBrgb(37, 63, 161)
HSLhsl(227, 63%, 39%)
HSVhsv(227, 77%, 63%)
CMYKcmyk(77%, 60.9%, 0%, 36.9%)
CIE-LABlab(30.69, 26.41, -55.85)
CIE-LCHlch(30.69, 61.77, 295.31°)
OKLaboklab(41.25% -0.0075 -0.1613)
OKLCHoklch(41.25% 0.162 267.3)
XYZxyz(8.9712, 6.5205, 34.4971)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253FA1 #A18725
analogous
#257DA1 #253FA1 #4925A1
triadic
#253FA1 #A1253F #3FA125
tetradic
#253FA1 #A1257D #A18725 #25A149
square
#253FA1 #A1257D #A18725 #25A149
split-complementary
#253FA1 #A14925 #7DA125
monochromatic
#0E183D #1A2C6F #253FA1 #3354D0 #657EDC

Accessibility & contrast

On white

9.11
#253FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#253FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253FA1
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253FA1#FFFFFF#000000##FFFFFF
##253FA11.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #253fa1;
/* rgb */ color: rgb(37, 63, 161);
/* oklch */ color: oklch(41.3% 0.162 267.3);
Tailwind
colors: {
  custom: {
    50: '#7373be',
    500: '#253fa1',
    950: '#000000',
  },
}
SCSS
$custom: #253fa1;
$custom-light: #7373be;
$custom-dark: #000000;
JSON
{
  "hex": "#253fa1",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 227.419,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41254,
    "c": 0.16152,
    "h": 267.3
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#253FA1
secondary
#C1AD61
accent
#C342E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #253FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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