#243291#243291

#243291 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.156 H 270.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#243291
RGBrgb(36, 50, 145)
HSLhsl(232, 60%, 35%)
HSVhsv(232, 75%, 57%)
CMYKcmyk(75.2%, 65.5%, 0%, 43.1%)
CIE-LABlab(25.86, 28.92, -53.97)
CIE-LCHlch(25.86, 61.23, 298.18°)
OKLaboklab(37.24% 0.0007 -0.156)
OKLCHoklch(37.24% 0.156 270.2)
XYZxyz(6.9772, 4.6999, 27.3220)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243291 #918324
analogous
#246891 #243291 #4D2491
triadic
#243291 #912432 #329124
tetradic
#243291 #912468 #918324 #24914D
square
#243291 #912468 #918324 #24914D
split-complementary
#243291 #914D24 #689124
monochromatic
#0C102F #182160 #243291 #3043C2 #5969D6

Accessibility & contrast

On white

10.82
#243291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #243291
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243291#FFFFFF#000000##FFFFFF
##2432911.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #243291;
/* rgb */ color: rgb(36, 50, 145);
/* oklch */ color: oklch(37.2% 0.156 270.2);
Tailwind
colors: {
  custom: {
    50: '#706ab2',
    500: '#243291',
    950: '#000000',
  },
}
SCSS
$custom: #243291;
$custom-light: #706ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#243291",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 232.294,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37237,
    "c": 0.15601,
    "h": 270.2
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#243291
secondary
#BAAE56
accent
#CF44E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #243291

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

Preview Lab → · Contrast checker → · Palette generator →

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