#234CA8#234CA8

#234CA8 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.155 H 263.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#234CA8
RGBrgb(35, 76, 168)
HSLhsl(222, 66%, 40%)
HSVhsv(222, 79%, 66%)
CMYKcmyk(79.2%, 54.8%, 0%, 34.1%)
CIE-LABlab(34.71, 20.15, -53.52)
CIE-LCHlch(34.71, 57.19, 290.63°)
OKLaboklab(44.42% -0.018 -0.1543)
OKLCHoklch(44.42% 0.155 263.3)
XYZxyz(10.3429, 8.3522, 38.1052)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234CA8 #A87F23
analogous
#238EA8 #234CA8 #3D23A8
triadic
#234CA8 #A8234C #4CA823
tetradic
#234CA8 #A8238E #A87F23 #23A83D
square
#234CA8 #A8238E #A87F23 #23A83D
split-complementary
#234CA8 #A83D23 #8EA823
monochromatic
#0E1E43 #183575 #234CA8 #3465D5 #668CDF

Accessibility & contrast

On white

7.86
#234CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#234CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234CA8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234CA8#FFFFFF#000000##FFFFFF
##234CA81.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #234ca8;
/* rgb */ color: rgb(35, 76, 168);
/* oklch */ color: oklch(44.4% 0.155 263.3);
Tailwind
colors: {
  custom: {
    50: '#737dc3',
    500: '#234ca8',
    950: '#000000',
  },
}
SCSS
$custom: #234ca8;
$custom-light: #737dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#234ca8",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 221.504,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44423,
    "c": 0.15538,
    "h": 263.3
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#234CA8
secondary
#C5A662
accent
#B43FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234CA8

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

Preview Lab → · Contrast checker → · Palette generator →

#234CA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva