#242B9C#242B9C

#242B9C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.179 H 271.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#242B9C
RGBrgb(36, 43, 156)
HSLhsl(237, 63%, 38%)
HSVhsv(237, 77%, 61%)
CMYKcmyk(76.9%, 72.4%, 0%, 38.8%)
CIE-LABlab(25.27, 37.44, -61.70)
CIE-LCHlch(25.27, 72.17, 301.25°)
OKLaboklab(37.13% 0.0037 -0.1786)
OKLCHoklch(37.13% 0.179 271.2)
XYZxyz(7.5901, 4.5023, 31.9151)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B9C #9C9524
analogous
#24679C #242B9C #59249C
triadic
#242B9C #9C242B #2B9C24
tetradic
#242B9C #9C2467 #9C9524 #249C59
square
#242B9C #9C2467 #9C9524 #249C59
split-complementary
#242B9C #9C5924 #679C24
monochromatic
#0D1039 #191D6A #242B9C #2F39CE #6067DA

Accessibility & contrast

On white

11.05
#242B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#242B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B9C
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B9C#FFFFFF#000000##FFFFFF
##242B9C1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242b9c;
/* rgb */ color: rgb(36, 43, 156);
/* oklch */ color: oklch(37.1% 0.179 271.2);
Tailwind
colors: {
  custom: {
    50: '#7365ba',
    500: '#242b9c',
    950: '#000000',
  },
}
SCSS
$custom: #242b9c;
$custom-light: #7365ba;
$custom-dark: #000000;
JSON
{
  "hex": "#242b9c",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 236.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.17866,
    "h": 271.2
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#242B9C
secondary
#BFBA5C
accent
#DC42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242B9C

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

Preview Lab → · Contrast checker → · Palette generator →

#242B9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva