#253FA6#253FA6

#253FA6 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.168 H 267.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#253FA6
RGBrgb(37, 63, 166)
HSLhsl(228, 64%, 40%)
HSVhsv(228, 78%, 65%)
CMYKcmyk(77.7%, 62%, 0%, 34.9%)
CIE-LABlab(31.11, 28.31, -58.16)
CIE-LCHlch(31.11, 64.69, 295.96°)
OKLaboklab(41.7% -0.0075 -0.1681)
OKLCHoklch(41.7% 0.168 267.4)
XYZxyz(9.4210, 6.7004, 36.8658)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253FA6 #A68C25
analogous
#2580A6 #253FA6 #4C25A6
triadic
#253FA6 #A6253F #3FA625
tetradic
#253FA6 #A62580 #A68C25 #25A64C
square
#253FA6 #A62580 #A68C25 #25A64C
split-complementary
#253FA6 #A64C25 #80A625
monochromatic
#0F1942 #1A2C74 #253FA6 #3655D2 #6880DD

Accessibility & contrast

On white

8.97
#253FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#253FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253FA6
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253FA6#FFFFFF#000000##FFFFFF
##253FA61.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #253fa6;
/* rgb */ color: rgb(37, 63, 166);
/* oklch */ color: oklch(41.7% 0.168 267.4);
Tailwind
colors: {
  custom: {
    50: '#7473c1',
    500: '#253fa6',
    950: '#000000',
  },
}
SCSS
$custom: #253fa6;
$custom-light: #7473c1;
$custom-dark: #000000;
JSON
{
  "hex": "#253fa6",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 227.907,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41702,
    "c": 0.16831,
    "h": 267.4
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#253FA6
secondary
#C3B064
accent
#C541E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #253FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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