#253297#253297

#253297 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.164 H 270.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#253297
RGBrgb(37, 50, 151)
HSLhsl(233, 61%, 37%)
HSVhsv(233, 75%, 59%)
CMYKcmyk(75.5%, 66.9%, 0%, 40.8%)
CIE-LABlab(26.47, 31.27, -56.66)
CIE-LCHlch(26.47, 64.72, 298.90°)
OKLaboklab(37.87% 0.0013 -0.1639)
OKLCHoklch(37.87% 0.164 270.5)
XYZxyz(7.4876, 4.9081, 29.8249)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253297 #978A25
analogous
#256B97 #253297 #512597
triadic
#253297 #972532 #329725
tetradic
#253297 #97256B #978A25 #259751
square
#253297 #97256B #978A25 #259751
split-complementary
#253297 #975125 #6B9725
monochromatic
#0D1135 #192266 #253297 #3142C8 #5F6CD8

Accessibility & contrast

On white

10.60
#253297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#253297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253297
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253297#FFFFFF#000000##FFFFFF
##2532971.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253297;
/* rgb */ color: rgb(37, 50, 151);
/* oklch */ color: oklch(37.9% 0.164 270.5);
Tailwind
colors: {
  custom: {
    50: '#726ab7',
    500: '#253297',
    950: '#000000',
  },
}
SCSS
$custom: #253297;
$custom-light: #726ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#253297",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 233.158,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37869,
    "c": 0.16387,
    "h": 270.5
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#253297
secondary
#BDB25B
accent
#D244E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253297

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

Preview Lab → · Contrast checker → · Palette generator →

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