#243279#243279

#243279 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.122 H 270.4°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#243279
RGBrgb(36, 50, 121)
HSLhsl(230, 54%, 31%)
HSVhsv(230, 70%, 47%)
CMYKcmyk(70.2%, 58.7%, 0%, 52.5%)
CIE-LABlab(23.79, 19.73, -42.34)
CIE-LCHlch(23.79, 46.71, 294.98°)
OKLaboklab(35.06% 0.0009 -0.1218)
OKLCHoklch(35.06% 0.122 270.4)
XYZxyz(5.3182, 4.0362, 18.5843)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243279 #796B24
analogous
#245C79 #243279 #402479
triadic
#243279 #792432 #327924
tetradic
#243279 #79245C #796B24 #247940
square
#243279 #79245C #796B24 #247940
split-complementary
#243279 #794024 #5C7924
monochromatic
#080B1B #161F4A #243279 #3245A8 #4D62CA

Accessibility & contrast

On white

11.62
#243279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#243279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243279
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243279#FFFFFF#000000##FFFFFF
##2432791.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #243279;
/* rgb */ color: rgb(36, 50, 121);
/* oklch */ color: oklch(35.1% 0.122 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a69a0',
    500: '#243279',
    950: '#000000',
  },
}
SCSS
$custom: #243279;
$custom-light: #6a69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#243279",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 230.118,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35058,
    "c": 0.12185,
    "h": 270.4
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#243279
secondary
#AC9C4D
accent
#C54ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #243279

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

Preview Lab → · Contrast checker → · Palette generator →

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