#253A62#253A62

#253A62 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.2% C 0.075 H 262.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#253A62
RGBrgb(37, 58, 98)
HSLhsl(219, 45%, 26%)
HSVhsv(219, 62%, 38%)
CMYKcmyk(62.2%, 40.8%, 0%, 61.6%)
CIE-LABlab(24.64, 5.43, -26.21)
CIE-LCHlch(24.64, 26.76, 281.70°)
OKLaboklab(35.21% -0.0101 -0.0743)
OKLCHoklch(35.21% 0.075 262.3)
XYZxyz(4.4798, 4.3009, 12.1470)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A62 #624D25
analogous
#255962 #253A62 #2F2562
triadic
#253A62 #62253A #3A6225
tetradic
#253A62 #622559 #624D25 #25622F
square
#253A62 #622559 #624D25 #25622F
split-complementary
#253A62 #622F25 #596225
monochromatic
#080D16 #142036 #253A62 #36548E #486FBA

Accessibility & contrast

On white

11.29
#253A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#253A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A62
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A62#FFFFFF#000000##FFFFFF
##253A621.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293E64
Deuteranopia (green-blind)
#213861
Tritanopia (blue-blind)
#004349
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #253a62;
/* rgb */ color: rgb(37, 58, 98);
/* oklch */ color: oklch(35.2% 0.075 262.3);
Tailwind
colors: {
  custom: {
    50: '#656f8f',
    500: '#253a62',
    950: '#000000',
  },
}
SCSS
$custom: #253a62;
$custom-light: #656f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#253a62",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 98
  },
  "hsl": {
    "h": 219.344,
    "s": 45.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35207,
    "c": 0.075,
    "h": 262.3
  },
  "luminance": 0.04301
}

Semantic roles & 50–950 ramp

primary
#253A62
secondary
#957D4E
accent
#A853D5
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #253A62

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

Preview Lab → · Contrast checker → · Palette generator →

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