#243897#243897

#243897 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.157 H 268.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#243897
RGBrgb(36, 56, 151)
HSLhsl(230, 61%, 37%)
HSVhsv(230, 76%, 59%)
CMYKcmyk(76.2%, 62.9%, 0%, 40.8%)
CIE-LABlab(27.94, 27.17, -54.25)
CIE-LCHlch(27.94, 60.67, 296.60°)
OKLaboklab(38.94% -0.0036 -0.1568)
OKLCHoklch(38.94% 0.157 268.7)
XYZxyz(7.7257, 5.4369, 29.9144)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243897 #978324
analogous
#247297 #243897 #4A2497
triadic
#243897 #972438 #389724
tetradic
#243897 #972472 #978324 #24974A
square
#243897 #972472 #978324 #24974A
split-complementary
#243897 #974A24 #729724
monochromatic
#0C1334 #182666 #243897 #304AC8 #5D72D8

Accessibility & contrast

On white

10.06
#243897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#243897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243897
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243897#FFFFFF#000000##FFFFFF
##2438971.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #243897;
/* rgb */ color: rgb(36, 56, 151);
/* oklch */ color: oklch(38.9% 0.157 268.7);
Tailwind
colors: {
  custom: {
    50: '#716eb6',
    500: '#243897',
    950: '#000000',
  },
}
SCSS
$custom: #243897;
$custom-light: #716eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#243897",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 229.565,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.15681,
    "h": 268.7
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#243897
secondary
#BDAC5A
accent
#C943E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #243897

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

Preview Lab → · Contrast checker → · Palette generator →

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