#253A7A#253A7A

#253A7A is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.112 H 267.1°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#253A7A
RGBrgb(37, 58, 122)
HSLhsl(225, 53%, 31%)
HSVhsv(225, 70%, 48%)
CMYKcmyk(69.7%, 52.5%, 0%, 52.2%)
CIE-LABlab(26.23, 14.69, -39.02)
CIE-LCHlch(26.23, 41.70, 290.63°)
OKLaboklab(36.94% -0.0057 -0.112)
OKLCHoklch(36.94% 0.112 267.1)
XYZxyz(5.7876, 4.8240, 19.0347)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A7A #7A6525
analogous
#25647A #253A7A #3A257A
triadic
#253A7A #7A253A #3A7A25
tetradic
#253A7A #7A2564 #7A6525 #257A3A
square
#253A7A #7A2564 #7A6525 #257A3A
split-complementary
#253A7A #7A3A25 #647A25
monochromatic
#090D1C #17244B #253A7A #3350A9 #506ECA

Accessibility & contrast

On white

10.69
#253A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#253A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A7A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A7A#FFFFFF#000000##FFFFFF
##253A7A1.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253a7a;
/* rgb */ color: rgb(37, 58, 122);
/* oklch */ color: oklch(36.9% 0.112 267.1);
Tailwind
colors: {
  custom: {
    50: '#6a6fa1',
    500: '#253a7a',
    950: '#000000',
  },
}
SCSS
$custom: #253a7a;
$custom-light: #6a6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#253a7a",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 225.176,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36935,
    "c": 0.11211,
    "h": 267.1
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#253A7A
secondary
#AC954E
accent
#B94BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #253A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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