#242EAF#242EAF

#242EAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.199 H 269.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#242EAF
RGBrgb(36, 46, 175)
HSLhsl(236, 66%, 41%)
HSVhsv(236, 79%, 69%)
CMYKcmyk(79.4%, 73.7%, 0%, 31.4%)
CIE-LABlab(27.91, 42.29, -68.84)
CIE-LCHlch(27.91, 80.79, 301.57°)
OKLaboklab(39.62% -0.0003 -0.1994)
OKLCHoklch(39.62% 0.199 269.9)
XYZxyz(9.4398, 5.4231, 41.0984)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242EAF #AFA524
analogous
#2474AF #242EAF #5F24AF
triadic
#242EAF #AF242E #2EAF24
tetradic
#242EAF #AF2474 #AFA524 #24AF5F
square
#242EAF #AF2474 #AFA524 #24AF5F
split-complementary
#242EAF #AF5F24 #74AF24
monochromatic
#0F1349 #1A217C #242EAF #3A45D6 #6D75E1

Accessibility & contrast

On white

10.07
#242EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#242EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242EAF
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242EAF#FFFFFF#000000##FFFFFF
##242EAF1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #242eaf;
/* rgb */ color: rgb(36, 46, 175);
/* oklch */ color: oklch(39.6% 0.199 269.9);
Tailwind
colors: {
  custom: {
    50: '#7868c8',
    500: '#242eaf',
    950: '#000000',
  },
}
SCSS
$custom: #242eaf;
$custom-light: #7868c8;
$custom-dark: #000000;
JSON
{
  "hex": "#242eaf",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 235.683,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39615,
    "c": 0.19939,
    "h": 269.9
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#242EAF
secondary
#C7C068
accent
#DD3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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