#253A85#253A85

#253A85 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.128 H 267.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#253A85
RGBrgb(37, 58, 133)
HSLhsl(227, 56%, 33%)
HSVhsv(227, 72%, 52%)
CMYKcmyk(72.2%, 56.4%, 0%, 47.8%)
CIE-LABlab(27.05, 18.99, -44.59)
CIE-LCHlch(27.05, 48.46, 293.06°)
OKLaboklab(37.82% -0.0047 -0.1283)
OKLCHoklch(37.82% 0.128 267.9)
XYZxyz(6.5082, 5.1122, 22.8295)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A85 #857025
analogous
#256A85 #253A85 #402585
triadic
#253A85 #85253A #3A8525
tetradic
#253A85 #85256A #857025 #258540
square
#253A85 #85256A #857025 #258540
split-complementary
#253A85 #854025 #6A8525
monochromatic
#0A1025 #182555 #253A85 #324FB5 #5570D0

Accessibility & contrast

On white

10.38
#253A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#253A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A85
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A85#FFFFFF#000000##FFFFFF
##253A851.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253a85;
/* rgb */ color: rgb(37, 58, 133);
/* oklch */ color: oklch(37.8% 0.128 267.9);
Tailwind
colors: {
  custom: {
    50: '#6d6fa9',
    500: '#253a85',
    950: '#000000',
  },
}
SCSS
$custom: #253a85;
$custom-light: #6d6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#253a85",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 226.875,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3782,
    "c": 0.12842,
    "h": 267.9
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#253A85
secondary
#B49E52
accent
#BF48E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253A85

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

Preview Lab → · Contrast checker → · Palette generator →

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