#243187#243187

#243187 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.143 H 270.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#243187
RGBrgb(36, 49, 135)
HSLhsl(232, 58%, 34%)
HSVhsv(232, 73%, 53%)
CMYKcmyk(73.3%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.70, 25.80, -49.66)
CIE-LCHlch(24.70, 55.96, 297.46°)
OKLaboklab(36.11% 0.0018 -0.1434)
OKLCHoklch(36.11% 0.143 270.7)
XYZxyz(6.1976, 4.3203, 23.4243)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243187 #877A24
analogous
#246287 #243187 #482487
triadic
#243187 #872431 #318724
tetradic
#243187 #872462 #877A24 #248748
square
#243187 #872462 #877A24 #248748
split-complementary
#243187 #874824 #628724
monochromatic
#0A0E26 #171F57 #243187 #3143B7 #5464D1

Accessibility & contrast

On white

11.26
#243187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#243187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243187
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243187#FFFFFF#000000##FFFFFF
##2431871.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #243187;
/* rgb */ color: rgb(36, 49, 135);
/* oklch */ color: oklch(36.1% 0.143 270.7);
Tailwind
colors: {
  custom: {
    50: '#6e69ab',
    500: '#243187',
    950: '#000000',
  },
}
SCSS
$custom: #243187;
$custom-light: #6e69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#243187",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 232.121,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36106,
    "c": 0.14339,
    "h": 270.7
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#243187
secondary
#B5A851
accent
#CD47E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #243187

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

Preview Lab → · Contrast checker → · Palette generator →

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