#243181#243181

#243181 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.135 H 270.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#243181
RGBrgb(36, 49, 129)
HSLhsl(232, 56%, 32%)
HSVhsv(232, 72%, 51%)
CMYKcmyk(72.1%, 62%, 0%, 49.4%)
CIE-LABlab(24.18, 23.51, -46.75)
CIE-LCHlch(24.18, 52.33, 296.69°)
OKLaboklab(35.56% 0.0019 -0.1348)
OKLCHoklch(35.56% 0.135 270.8)
XYZxyz(5.7870, 4.1561, 21.2619)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243181 #817424
analogous
#246081 #243181 #462481
triadic
#243181 #812431 #318124
tetradic
#243181 #812460 #817424 #248146
square
#243181 #812460 #817424 #248146
split-complementary
#243181 #814624 #608124
monochromatic
#090D21 #171F51 #243181 #3143B1 #5163CE

Accessibility & contrast

On white

11.47
#243181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#243181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243181
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243181#FFFFFF#000000##FFFFFF
##2431811.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #243181;
/* rgb */ color: rgb(36, 49, 129);
/* oklch */ color: oklch(35.6% 0.135 270.8);
Tailwind
colors: {
  custom: {
    50: '#6c69a6',
    500: '#243181',
    950: '#000000',
  },
}
SCSS
$custom: #243181;
$custom-light: #6c69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#243181",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 231.613,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35557,
    "c": 0.13486,
    "h": 270.8
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#243181
secondary
#B2A44E
accent
#CA48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #243181

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

Preview Lab → · Contrast checker → · Palette generator →

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