#243297#243297

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

Color values

HEX#243297
RGBrgb(36, 50, 151)
HSLhsl(233, 61%, 37%)
HSVhsv(233, 76%, 59%)
CMYKcmyk(76.2%, 66.9%, 0%, 40.8%)
CIE-LABlab(26.42, 31.16, -56.75)
CIE-LCHlch(26.42, 64.74, 298.77°)
OKLaboklab(37.82% 0.0003 -0.1641)
OKLCHoklch(37.82% 0.164 270.1)
XYZxyz(7.4522, 4.8898, 29.8232)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243297 #978924
analogous
#246C97 #243297 #502497
triadic
#243297 #972432 #329724
tetradic
#243297 #97246C #978924 #249750
square
#243297 #97246C #978924 #249750
split-complementary
#243297 #975024 #6C9724
monochromatic
#0C1134 #182266 #243297 #3042C8 #5D6CD8

Accessibility & contrast

On white

10.62
#243297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #243297
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243297#FFFFFF#000000##FFFFFF
##2432971.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #243297;
/* rgb */ color: rgb(36, 50, 151);
/* oklch */ color: oklch(37.8% 0.164 270.1);
Tailwind
colors: {
  custom: {
    50: '#716ab7',
    500: '#243297',
    950: '#000000',
  },
}
SCSS
$custom: #243297;
$custom-light: #716ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#243297",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 232.696,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37816,
    "c": 0.16414,
    "h": 270.1
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #243297

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

Preview Lab → · Contrast checker → · Palette generator →

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