#253A83#253A83

#253A83 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.125 H 267.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#253A83
RGBrgb(37, 58, 131)
HSLhsl(227, 56%, 33%)
HSVhsv(227, 72%, 51%)
CMYKcmyk(71.8%, 55.7%, 0%, 48.6%)
CIE-LABlab(26.90, 18.21, -43.59)
CIE-LCHlch(26.90, 47.24, 292.67°)
OKLaboklab(37.66% -0.0048 -0.1254)
OKLCHoklch(37.66% 0.125 267.8)
XYZxyz(6.3713, 5.0575, 22.1087)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A83 #836E25
analogous
#256983 #253A83 #3F2583
triadic
#253A83 #83253A #3A8325
tetradic
#253A83 #832569 #836E25 #25833F
square
#253A83 #832569 #836E25 #25833F
split-complementary
#253A83 #833F25 #698325
monochromatic
#0A1024 #182553 #253A83 #324FB3 #546FCF

Accessibility & contrast

On white

10.44
#253A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#253A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A83
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A83#FFFFFF#000000##FFFFFF
##253A831.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034486
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253a83;
/* rgb */ color: rgb(37, 58, 131);
/* oklch */ color: oklch(37.7% 0.125 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c6fa8',
    500: '#253a83',
    950: '#000000',
  },
}
SCSS
$custom: #253a83;
$custom-light: #6c6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#253a83",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 131
  },
  "hsl": {
    "h": 226.596,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37655,
    "c": 0.12549,
    "h": 267.8
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#253A83
secondary
#B39D51
accent
#BE49DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #253A83

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

Preview Lab → · Contrast checker → · Palette generator →

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