#243166#243166

#243166 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.094 H 270.2°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#243166
RGBrgb(36, 49, 102)
HSLhsl(228, 48%, 27%)
HSVhsv(228, 65%, 40%)
CMYKcmyk(64.7%, 52%, 0%, 60%)
CIE-LABlab(22.05, 13.07, -32.94)
CIE-LCHlch(22.05, 35.43, 291.64°)
OKLaboklab(33.29% 0.0004 -0.0942)
OKLCHoklch(33.29% 0.094 270.2)
XYZxyz(4.2233, 3.5307, 13.0267)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243166 #665924
analogous
#245266 #243166 #382466
triadic
#243166 #662431 #316624
tetradic
#243166 #662452 #665924 #246638
square
#243166 #662452 #665924 #246638
split-complementary
#243166 #663824 #526624
monochromatic
#080B17 #141B39 #243166 #344793 #475EBE

Accessibility & contrast

On white

12.31
#243166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#243166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243166
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243166#FFFFFF#000000##FFFFFF
##2431661.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163868
Deuteranopia (green-blind)
#093265
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #243166;
/* rgb */ color: rgb(36, 49, 102);
/* oklch */ color: oklch(33.3% 0.094 270.2);
Tailwind
colors: {
  custom: {
    50: '#666892',
    500: '#243166',
    950: '#000000',
  },
}
SCSS
$custom: #243166;
$custom-light: #666892;
$custom-dark: #000000;
JSON
{
  "hex": "#243166",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 228.182,
    "s": 47.826,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3329,
    "c": 0.09422,
    "h": 270.2
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#243166
secondary
#998A4C
accent
#BD50D7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #243166

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

Preview Lab → · Contrast checker → · Palette generator →

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