#253254#253254

#253254 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.063 H 267.0°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#253254
RGBrgb(37, 50, 84)
HSLhsl(223, 39%, 24%)
HSVhsv(223, 56%, 33%)
CMYKcmyk(56%, 40.5%, 0%, 67.1%)
CIE-LABlab(21.26, 5.79, -22.36)
CIE-LCHlch(21.26, 23.10, 284.51°)
OKLaboklab(32.32% -0.0033 -0.0632)
OKLCHoklch(32.32% 0.063 267)
XYZxyz(3.5033, 3.3144, 8.8409)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253254 #544725
analogous
#254954 #253254 #2F2554
triadic
#253254 #542532 #325425
tetradic
#253254 #542549 #544725 #25542F
square
#253254 #542549 #544725 #25542F
split-complementary
#253254 #542F25 #495425
monochromatic
#090D15 #12192A #253254 #384B7E #4A65A9

Accessibility & contrast

On white

12.63
#253254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#253254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253254
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253254#FFFFFF#000000##FFFFFF
##2532541.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253555
Deuteranopia (green-blind)
#1F3153
Tritanopia (blue-blind)
#0F393F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #253254;
/* rgb */ color: rgb(37, 50, 84);
/* oklch */ color: oklch(32.3% 0.063 267.0);
Tailwind
colors: {
  custom: {
    50: '#636984',
    500: '#253254',
    950: '#000000',
  },
}
SCSS
$custom: #253254;
$custom-light: #636984;
$custom-dark: #000000;
JSON
{
  "hex": "#253254",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 223.404,
    "s": 38.843,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3232,
    "c": 0.06326,
    "h": 267
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#253254
secondary
#87774D
accent
#AE59CF
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #253254

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

Preview Lab → · Contrast checker → · Palette generator →

#253254 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva