#253AAF#253AAF

#253AAF is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.186 H 268.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#253AAF
RGBrgb(37, 58, 175)
HSLhsl(231, 65%, 42%)
HSVhsv(231, 79%, 69%)
CMYKcmyk(78.9%, 66.9%, 0%, 31.4%)
CIE-LABlab(30.67, 34.96, -64.28)
CIE-LCHlch(30.67, 73.17, 298.54°)
OKLaboklab(41.63% -0.0049 -0.1861)
OKLCHoklch(41.63% 0.186 268.5)
XYZxyz(10.0112, 6.5134, 41.2787)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253AAF #AF9A25
analogous
#257FAF #253AAF #5525AF
triadic
#253AAF #AF253A #3AAF25
tetradic
#253AAF #AF257F #AF9A25 #25AF55
square
#253AAF #AF257F #AF9A25 #25AF55
split-complementary
#253AAF #AF5525 #7FAF25
monochromatic
#10194A #1A297C #253AAF #3C53D6 #6E7FE0

Accessibility & contrast

On white

9.12
#253AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253AAF
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253AAF#FFFFFF#000000##FFFFFF
##253AAF1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #253aaf;
/* rgb */ color: rgb(37, 58, 175);
/* oklch */ color: oklch(41.6% 0.186 268.5);
Tailwind
colors: {
  custom: {
    50: '#7770c8',
    500: '#253aaf',
    950: '#000000',
  },
}
SCSS
$custom: #253aaf;
$custom-light: #7770c8;
$custom-dark: #000000;
JSON
{
  "hex": "#253aaf",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 230.87,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.18616,
    "h": 268.5
  },
  "luminance": 0.06515
}

Semantic roles & 50–950 ramp

primary
#253AAF
secondary
#C7B969
accent
#CE40E8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #253AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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