#243198#243198

#243198 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.167 H 270.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#243198
RGBrgb(36, 49, 152)
HSLhsl(233, 62%, 37%)
HSVhsv(233, 76%, 60%)
CMYKcmyk(76.3%, 67.8%, 0%, 40.4%)
CIE-LABlab(26.27, 32.19, -57.61)
CIE-LCHlch(26.27, 65.99, 299.19°)
OKLaboklab(37.74% 0.0008 -0.1667)
OKLCHoklch(37.74% 0.167 270.3)
XYZxyz(7.4914, 4.8379, 30.2387)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243198 #988B24
analogous
#246B98 #243198 #512498
triadic
#243198 #982431 #319824
tetradic
#243198 #98246B #988B24 #249851
square
#243198 #98246B #988B24 #249851
split-complementary
#243198 #985124 #6B9824
monochromatic
#0D1135 #182167 #243198 #3041C9 #5E6BD9

Accessibility & contrast

On white

10.67
#243198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#243198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243198
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243198#FFFFFF#000000##FFFFFF
##2431981.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #243198;
/* rgb */ color: rgb(36, 49, 152);
/* oklch */ color: oklch(37.7% 0.167 270.3);
Tailwind
colors: {
  custom: {
    50: '#7269b7',
    500: '#243198',
    950: '#000000',
  },
}
SCSS
$custom: #243198;
$custom-light: #7269b7;
$custom-dark: #000000;
JSON
{
  "hex": "#243198",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 233.276,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37735,
    "c": 0.16666,
    "h": 270.3
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#243198
secondary
#BEB25A
accent
#D343E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #243198

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

Preview Lab → · Contrast checker → · Palette generator →

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