#253FA2#253FA2

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

Color values

HEX#253FA2
RGBrgb(37, 63, 162)
HSLhsl(228, 63%, 39%)
HSVhsv(228, 77%, 64%)
CMYKcmyk(77.2%, 61.1%, 0%, 36.5%)
CIE-LABlab(30.77, 26.79, -56.31)
CIE-LCHlch(30.77, 62.36, 295.44°)
OKLaboklab(41.34% -0.0075 -0.1627)
OKLCHoklch(41.34% 0.163 267.3)
XYZxyz(9.0598, 6.5560, 34.9634)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253FA2 #A28825
analogous
#257EA2 #253FA2 #4A25A2
triadic
#253FA2 #A2253F #3FA225
tetradic
#253FA2 #A2257E #A28825 #25A24A
square
#253FA2 #A2257E #A28825 #25A24A
split-complementary
#253FA2 #A24A25 #7EA225
monochromatic
#0E183E #1A2C70 #253FA2 #3454D1 #657EDC

Accessibility & contrast

On white

9.09
#253FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#253FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253FA2
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253FA2#FFFFFF#000000##FFFFFF
##253FA21.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #253fa2;
/* rgb */ color: rgb(37, 63, 162);
/* oklch */ color: oklch(41.3% 0.163 267.3);
Tailwind
colors: {
  custom: {
    50: '#7373be',
    500: '#253fa2',
    950: '#000000',
  },
}
SCSS
$custom: #253fa2;
$custom-light: #7373be;
$custom-dark: #000000;
JSON
{
  "hex": "#253fa2",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 227.52,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41343,
    "c": 0.16288,
    "h": 267.3
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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