#243797#243797

#243797 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.158 H 268.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#243797
RGBrgb(36, 55, 151)
HSLhsl(230, 61%, 37%)
HSVhsv(230, 76%, 59%)
CMYKcmyk(76.2%, 63.6%, 0%, 40.8%)
CIE-LABlab(27.68, 27.84, -54.68)
CIE-LCHlch(27.68, 61.36, 296.99°)
OKLaboklab(38.75% -0.003 -0.158)
OKLCHoklch(38.75% 0.158 268.9)
XYZxyz(7.6777, 5.3410, 29.8984)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243797 #978424
analogous
#247197 #243797 #4B2497
triadic
#243797 #972437 #379724
tetradic
#243797 #972471 #978424 #24974B
square
#243797 #972471 #978424 #24974B
split-complementary
#243797 #974B24 #719724
monochromatic
#0C1334 #182566 #243797 #3049C8 #5D71D8

Accessibility & contrast

On white

10.15
#243797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#243797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243797
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243797#FFFFFF#000000##FFFFFF
##2437971.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #243797;
/* rgb */ color: rgb(36, 55, 151);
/* oklch */ color: oklch(38.7% 0.158 268.9);
Tailwind
colors: {
  custom: {
    50: '#716db6',
    500: '#243797',
    950: '#000000',
  },
}
SCSS
$custom: #243797;
$custom-light: #716db6;
$custom-dark: #000000;
JSON
{
  "hex": "#243797",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 230.087,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38746,
    "c": 0.15806,
    "h": 268.9
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#243797
secondary
#BDAD5A
accent
#CA43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #243797

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

Preview Lab → · Contrast checker → · Palette generator →

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