#243781#243781

#243781 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.127 H 268.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#243781
RGBrgb(36, 55, 129)
HSLhsl(228, 56%, 32%)
HSVhsv(228, 72%, 51%)
CMYKcmyk(72.1%, 57.4%, 0%, 49.4%)
CIE-LABlab(25.84, 19.35, -44.06)
CIE-LCHlch(25.84, 48.12, 293.71°)
OKLaboklab(36.79% -0.0032 -0.1268)
OKLCHoklch(36.79% 0.127 268.5)
XYZxyz(6.0548, 4.6918, 21.3511)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243781 #816E24
analogous
#246681 #243781 #402481
triadic
#243781 #812437 #378124
tetradic
#243781 #812466 #816E24 #248140
square
#243781 #812466 #816E24 #248140
split-complementary
#243781 #814024 #668124
monochromatic
#090E21 #172351 #243781 #314BB1 #516BCE

Accessibility & contrast

On white

10.83
#243781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#243781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243781
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243781#FFFFFF#000000##FFFFFF
##2437811.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #243781;
/* rgb */ color: rgb(36, 55, 129);
/* oklch */ color: oklch(36.8% 0.127 268.5);
Tailwind
colors: {
  custom: {
    50: '#6c6da6',
    500: '#243781',
    950: '#000000',
  },
}
SCSS
$custom: #243781;
$custom-light: #6c6da6;
$custom-dark: #000000;
JSON
{
  "hex": "#243781",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 227.742,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36794,
    "c": 0.12689,
    "h": 268.5
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#243781
secondary
#B29E4E
accent
#C148E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #243781

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

Preview Lab → · Contrast checker → · Palette generator →

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