#243271#243271

#243271 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.110 H 270.2°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#243271
RGBrgb(36, 50, 113)
HSLhsl(229, 52%, 29%)
HSVhsv(229, 68%, 44%)
CMYKcmyk(68.1%, 55.8%, 0%, 55.7%)
CIE-LABlab(23.16, 16.62, -38.25)
CIE-LCHlch(23.16, 41.71, 293.49°)
OKLaboklab(34.39% 0.0005 -0.1098)
OKLCHoklch(34.39% 0.11 270.2)
XYZxyz(4.8478, 3.8481, 16.1069)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243271 #716324
analogous
#245971 #243271 #3D2471
triadic
#243271 #712432 #327124
tetradic
#243271 #712459 #716324 #24713D
square
#243271 #712459 #716324 #24713D
split-complementary
#243271 #713D24 #597124
monochromatic
#070A17 #151D43 #243271 #33479F #4A60C5

Accessibility & contrast

On white

11.87
#243271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#243271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243271
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243271#FFFFFF#000000##FFFFFF
##2432711.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #243271;
/* rgb */ color: rgb(36, 50, 113);
/* oklch */ color: oklch(34.4% 0.110 270.2);
Tailwind
colors: {
  custom: {
    50: '#68699a',
    500: '#243271',
    950: '#000000',
  },
}
SCSS
$custom: #243271;
$custom-light: #68699a;
$custom-dark: #000000;
JSON
{
  "hex": "#243271",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 229.091,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34387,
    "c": 0.10984,
    "h": 270.2
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#243271
secondary
#A4944D
accent
#C14DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #243271

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

Preview Lab → · Contrast checker → · Palette generator →

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