#253FAF#253FAF

#253FAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.180 H 267.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#253FAF
RGBrgb(37, 63, 175)
HSLhsl(229, 65%, 42%)
HSVhsv(229, 79%, 69%)
CMYKcmyk(78.9%, 64%, 0%, 31.4%)
CIE-LABlab(31.90, 31.71, -62.26)
CIE-LCHlch(31.90, 69.87, 296.99°)
OKLaboklab(42.53% -0.0077 -0.1801)
OKLCHoklch(42.53% 0.18 267.6)
XYZxyz(10.2756, 7.0423, 41.3669)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253FAF #AF9525
analogous
#2584AF #253FAF #5025AF
triadic
#253FAF #AF253F #3FAF25
tetradic
#253FAF #AF2584 #AF9525 #25AF50
square
#253FAF #AF2584 #AF9525 #25AF50
split-complementary
#253FAF #AF5025 #84AF25
monochromatic
#101B4A #1A2D7C #253FAF #3C59D6 #6E84E0

Accessibility & contrast

On white

8.72
#253FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#253FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253FAF
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253FAF#FFFFFF#000000##FFFFFF
##253FAF1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #253faf;
/* rgb */ color: rgb(37, 63, 175);
/* oklch */ color: oklch(42.5% 0.180 267.6);
Tailwind
colors: {
  custom: {
    50: '#7774c8',
    500: '#253faf',
    950: '#000000',
  },
}
SCSS
$custom: #253faf;
$custom-light: #7774c8;
$custom-dark: #000000;
JSON
{
  "hex": "#253faf",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 228.696,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42528,
    "c": 0.18031,
    "h": 267.6
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#253FAF
secondary
#C7B569
accent
#C840E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #253FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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