#242BAC#242BAC

#242BAC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.199 H 270.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#242BAC
RGBrgb(36, 43, 172)
HSLhsl(237, 65%, 41%)
HSVhsv(237, 79%, 67%)
CMYKcmyk(79.1%, 75%, 0%, 32.5%)
CIE-LABlab(26.96, 43.01, -68.60)
CIE-LCHlch(26.96, 80.97, 302.09°)
OKLaboklab(38.85% 0.0013 -0.1987)
OKLCHoklch(38.85% 0.199 270.4)
XYZxyz(9.0353, 5.0804, 39.5261)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242BAC #ACA524
analogous
#246FAC #242BAC #6124AC
triadic
#242BAC #AC242B #2BAC24
tetradic
#242BAC #AC246F #ACA524 #24AC61
square
#242BAC #AC246F #ACA524 #24AC61
split-complementary
#242BAC #AC6124 #6FAC24
monochromatic
#0F1247 #191E79 #242BAC #3840D5 #6A71E0

Accessibility & contrast

On white

10.42
#242BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#242BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242BAC
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242BAC#FFFFFF#000000##FFFFFF
##242BAC1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #242bac;
/* rgb */ color: rgb(36, 43, 172);
/* oklch */ color: oklch(38.8% 0.199 270.4);
Tailwind
colors: {
  custom: {
    50: '#7766c6',
    500: '#242bac',
    950: '#000000',
  },
}
SCSS
$custom: #242bac;
$custom-light: #7766c6;
$custom-dark: #000000;
JSON
{
  "hex": "#242bac",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 236.912,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38846,
    "c": 0.19868,
    "h": 270.4
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#242BAC
secondary
#C6C166
accent
#E03FE8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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