#253096#253096

#253096 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.165 H 270.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#253096
RGBrgb(37, 48, 150)
HSLhsl(234, 60%, 37%)
HSVhsv(234, 75%, 59%)
CMYKcmyk(75.3%, 68%, 0%, 41.2%)
CIE-LABlab(25.89, 32.21, -57.01)
CIE-LCHlch(25.89, 65.48, 299.47°)
OKLaboklab(37.41% 0.0027 -0.1649)
OKLCHoklch(37.41% 0.165 270.9)
XYZxyz(7.3231, 4.7085, 29.3711)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253096 #968B25
analogous
#256996 #253096 #532596
triadic
#253096 #962530 #309625
tetradic
#253096 #962569 #968B25 #259653
square
#253096 #962569 #968B25 #259653
split-complementary
#253096 #965325 #699625
monochromatic
#0D1134 #192065 #253096 #3140C7 #5E6AD7

Accessibility & contrast

On white

10.81
#253096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#253096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253096
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253096#FFFFFF#000000##FFFFFF
##2530961.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #253096;
/* rgb */ color: rgb(37, 48, 150);
/* oklch */ color: oklch(37.4% 0.165 270.9);
Tailwind
colors: {
  custom: {
    50: '#7268b6',
    500: '#253096',
    950: '#000000',
  },
}
SCSS
$custom: #253096;
$custom-light: #7268b6;
$custom-dark: #000000;
JSON
{
  "hex": "#253096",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 234.159,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37414,
    "c": 0.1649,
    "h": 270.9
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#253096
secondary
#BCB35B
accent
#D444E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253096

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

Preview Lab → · Contrast checker → · Palette generator →

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