#243161#243161

#243161 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.086 H 269.8°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#243161
RGBrgb(36, 49, 97)
HSLhsl(227, 46%, 26%)
HSVhsv(227, 63%, 38%)
CMYKcmyk(62.9%, 49.5%, 0%, 62%)
CIE-LABlab(21.71, 11.14, -30.24)
CIE-LCHlch(21.71, 32.22, 290.23°)
OKLaboklab(32.91% -0.0004 -0.0863)
OKLCHoklch(32.91% 0.086 269.8)
XYZxyz(3.9828, 3.4344, 11.7600)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243161 #615424
analogous
#244F61 #243161 #352461
triadic
#243161 #612431 #316124
tetradic
#243161 #61244F #615424 #246135
square
#243161 #61244F #615424 #246135
split-complementary
#243161 #613524 #4F6124
monochromatic
#080B16 #131A34 #243161 #35488E #455EBA

Accessibility & contrast

On white

12.45
#243161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #243161
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243161#FFFFFF#000000##FFFFFF
##2431611.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3763
Deuteranopia (green-blind)
#113160
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #243161;
/* rgb */ color: rgb(36, 49, 97);
/* oklch */ color: oklch(32.9% 0.086 269.8);
Tailwind
colors: {
  custom: {
    50: '#65688e',
    500: '#243161',
    950: '#000000',
  },
}
SCSS
$custom: #243161;
$custom-light: #65688e;
$custom-dark: #000000;
JSON
{
  "hex": "#243161",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 227.213,
    "s": 45.865,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32912,
    "c": 0.08627,
    "h": 269.8
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #243161

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

Preview Lab → · Contrast checker → · Palette generator →

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