#243298#243298

#243298 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.165 H 270.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#243298
RGBrgb(36, 50, 152)
HSLhsl(233, 62%, 37%)
HSVhsv(233, 76%, 60%)
CMYKcmyk(76.3%, 67.1%, 0%, 40.4%)
CIE-LABlab(26.51, 31.53, -57.21)
CIE-LCHlch(26.51, 65.32, 298.86°)
OKLaboklab(37.91% 0.0002 -0.1655)
OKLCHoklch(37.91% 0.165 270.1)
XYZxyz(7.5337, 4.9225, 30.2528)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243298 #988A24
analogous
#246C98 #243298 #502498
triadic
#243298 #982432 #329824
tetradic
#243298 #98246C #988A24 #249850
square
#243298 #98246C #988A24 #249850
split-complementary
#243298 #985024 #6C9824
monochromatic
#0D1135 #182267 #243298 #3042C9 #5E6CD9

Accessibility & contrast

On white

10.58
#243298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#243298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243298
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243298#FFFFFF#000000##FFFFFF
##2432981.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #243298;
/* rgb */ color: rgb(36, 50, 152);
/* oklch */ color: oklch(37.9% 0.165 270.1);
Tailwind
colors: {
  custom: {
    50: '#726ab7',
    500: '#243298',
    950: '#000000',
  },
}
SCSS
$custom: #243298;
$custom-light: #726ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#243298",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 232.759,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37913,
    "c": 0.16548,
    "h": 270.1
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #243298

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

Preview Lab → · Contrast checker → · Palette generator →

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