#243162#243162

#243162 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.088 H 269.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#243162
RGBrgb(36, 49, 98)
HSLhsl(227, 46%, 26%)
HSVhsv(227, 63%, 38%)
CMYKcmyk(63.3%, 50%, 0%, 61.6%)
CIE-LABlab(21.77, 11.53, -30.78)
CIE-LCHlch(21.77, 32.87, 290.53°)
OKLaboklab(32.99% -0.0002 -0.0879)
OKLCHoklch(32.99% 0.088 269.9)
XYZxyz(4.0297, 3.4532, 12.0071)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243162 #625524
analogous
#245062 #243162 #362462
triadic
#243162 #622431 #316224
tetradic
#243162 #622450 #625524 #246236
square
#243162 #622450 #625524 #246236
split-complementary
#243162 #623624 #506224
monochromatic
#080B16 #141B35 #243162 #34478F #465EBB

Accessibility & contrast

On white

12.42
#243162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#243162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243162
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243162#FFFFFF#000000##FFFFFF
##2431621.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193764
Deuteranopia (green-blind)
#103261
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #243162;
/* rgb */ color: rgb(36, 49, 98);
/* oklch */ color: oklch(33.0% 0.088 269.9);
Tailwind
colors: {
  custom: {
    50: '#65688f',
    500: '#243162',
    950: '#000000',
  },
}
SCSS
$custom: #243162;
$custom-light: #65688f;
$custom-dark: #000000;
JSON
{
  "hex": "#243162",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 227.419,
    "s": 46.269,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32986,
    "c": 0.08787,
    "h": 269.9
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#243162
secondary
#95864C
accent
#BA52D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #243162

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

Preview Lab → · Contrast checker → · Palette generator →

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