#242BA8#242BA8

#242BA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.194 H 270.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#242BA8
RGBrgb(36, 43, 168)
HSLhsl(237, 65%, 40%)
HSVhsv(237, 79%, 66%)
CMYKcmyk(78.6%, 74.4%, 0%, 34.1%)
CIE-LABlab(26.53, 41.64, -66.90)
CIE-LCHlch(26.53, 78.80, 301.90°)
OKLaboklab(38.41% 0.0019 -0.1937)
OKLCHoklch(38.41% 0.194 270.6)
XYZxyz(8.6569, 4.9290, 37.5333)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242BA8 #A8A124
analogous
#246DA8 #242BA8 #5F24A8
triadic
#242BA8 #A8242B #2BA824
tetradic
#242BA8 #A8246D #A8A124 #24A85F
square
#242BA8 #A8246D #A8A124 #24A85F
split-complementary
#242BA8 #A85F24 #6DA824
monochromatic
#0E1143 #191E76 #242BA8 #353ED4 #686EDF

Accessibility & contrast

On white

10.57
#242BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#242BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242BA8
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242BA8#FFFFFF#000000##FFFFFF
##242BA81.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #242ba8;
/* rgb */ color: rgb(36, 43, 168);
/* oklch */ color: oklch(38.4% 0.194 270.6);
Tailwind
colors: {
  custom: {
    50: '#7666c3',
    500: '#242ba8',
    950: '#000000',
  },
}
SCSS
$custom: #242ba8;
$custom-light: #7666c3;
$custom-dark: #000000;
JSON
{
  "hex": "#242ba8",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 236.818,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.38412,
    "c": 0.19376,
    "h": 270.6
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#242BA8
secondary
#C4BF63
accent
#DF40E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #242BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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