#253097#253097

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

Color values

HEX#253097
RGBrgb(37, 48, 151)
HSLhsl(234, 61%, 37%)
HSVhsv(234, 75%, 59%)
CMYKcmyk(75.5%, 68.2%, 0%, 40.8%)
CIE-LABlab(25.98, 32.58, -57.46)
CIE-LCHlch(25.98, 66.06, 299.55°)
OKLaboklab(37.51% 0.0026 -0.1662)
OKLCHoklch(37.51% 0.166 270.9)
XYZxyz(7.4039, 4.7408, 29.7970)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253097 #978C25
analogous
#256997 #253097 #532597
triadic
#253097 #972530 #309725
tetradic
#253097 #972569 #978C25 #259753
square
#253097 #972569 #978C25 #259753
split-complementary
#253097 #975325 #699725
monochromatic
#0D1135 #192066 #253097 #3140C8 #5F6AD8

Accessibility & contrast

On white

10.78
#253097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#253097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253097
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253097#FFFFFF#000000##FFFFFF
##2530971.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253097;
/* rgb */ color: rgb(37, 48, 151);
/* oklch */ color: oklch(37.5% 0.166 270.9);
Tailwind
colors: {
  custom: {
    50: '#7268b7',
    500: '#253097',
    950: '#000000',
  },
}
SCSS
$custom: #253097;
$custom-light: #7268b7;
$custom-dark: #000000;
JSON
{
  "hex": "#253097",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 234.211,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37513,
    "c": 0.16623,
    "h": 270.9
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253097

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

Preview Lab → · Contrast checker → · Palette generator →

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