#243397#243397

#243397 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.163 H 269.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#243397
RGBrgb(36, 51, 151)
HSLhsl(232, 61%, 37%)
HSVhsv(232, 76%, 59%)
CMYKcmyk(76.2%, 66.2%, 0%, 40.8%)
CIE-LABlab(26.67, 30.51, -56.34)
CIE-LCHlch(26.67, 64.07, 298.43°)
OKLaboklab(38% -0.0003 -0.1629)
OKLCHoklch(38% 0.163 269.9)
XYZxyz(7.4954, 4.9763, 29.8376)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243397 #978824
analogous
#246D97 #243397 #4F2497
triadic
#243397 #972433 #339724
tetradic
#243397 #97246D #978824 #24974F
square
#243397 #97246D #978824 #24974F
split-complementary
#243397 #974F24 #6D9724
monochromatic
#0C1234 #182266 #243397 #3044C8 #5D6DD8

Accessibility & contrast

On white

10.52
#243397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#243397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243397
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243397#FFFFFF#000000##FFFFFF
##2433971.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #243397;
/* rgb */ color: rgb(36, 51, 151);
/* oklch */ color: oklch(38.0% 0.163 269.9);
Tailwind
colors: {
  custom: {
    50: '#716ab7',
    500: '#243397',
    950: '#000000',
  },
}
SCSS
$custom: #243397;
$custom-light: #716ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#243397",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 232.174,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37998,
    "c": 0.16294,
    "h": 269.9
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#243397
secondary
#BDB05A
accent
#D043E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #243397

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

Preview Lab → · Contrast checker → · Palette generator →

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