#242BAE#242BAE

#242BAE is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.1% C 0.201 H 270.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#242BAE
RGBrgb(36, 43, 174)
HSLhsl(237, 66%, 41%)
HSVhsv(237, 79%, 68%)
CMYKcmyk(79.3%, 75.3%, 0%, 31.8%)
CIE-LABlab(27.18, 43.69, -69.44)
CIE-LCHlch(27.18, 82.04, 302.18°)
OKLaboklab(39.06% 0.0009 -0.2011)
OKLCHoklch(39.06% 0.201 270.3)
XYZxyz(9.2288, 5.1578, 40.5453)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242BAE #AEA724
analogous
#2470AE #242BAE #6224AE
triadic
#242BAE #AE242B #2BAE24
tetradic
#242BAE #AE2470 #AEA724 #24AE62
square
#242BAE #AE2470 #AEA724 #24AE62
split-complementary
#242BAE #AE6224 #70AE24
monochromatic
#0F1249 #1A1E7B #242BAE #3941D6 #6C72E1

Accessibility & contrast

On white

10.34
#242BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#242BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242BAE
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242BAE#FFFFFF#000000##FFFFFF
##242BAE1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #242bae;
/* rgb */ color: rgb(36, 43, 174);
/* oklch */ color: oklch(39.1% 0.201 270.3);
Tailwind
colors: {
  custom: {
    50: '#7866c7',
    500: '#242bae',
    950: '#000000',
  },
}
SCSS
$custom: #242bae;
$custom-light: #7866c7;
$custom-dark: #000000;
JSON
{
  "hex": "#242bae",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 236.957,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39064,
    "c": 0.20112,
    "h": 270.3
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#242BAE
secondary
#C7C267
accent
#E03FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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