#234AA4#234AA4

#234AA4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.152 H 263.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#234AA4
RGBrgb(35, 74, 164)
HSLhsl(222, 65%, 39%)
HSVhsv(222, 79%, 64%)
CMYKcmyk(78.7%, 54.9%, 0%, 35.7%)
CIE-LABlab(33.85, 19.93, -52.52)
CIE-LCHlch(33.85, 56.17, 290.78°)
OKLaboklab(43.68% -0.0169 -0.1514)
OKLCHoklch(43.68% 0.152 263.6)
XYZxyz(9.8404, 7.9341, 36.1276)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234AA4 #A47D23
analogous
#238BA4 #234AA4 #3C23A4
triadic
#234AA4 #A4234A #4AA423
tetradic
#234AA4 #A4238B #A47D23 #23A43C
square
#234AA4 #A4238B #A47D23 #23A43C
split-complementary
#234AA4 #A43C23 #8BA423
monochromatic
#0D1C3F #183372 #234AA4 #3162D3 #6489DE

Accessibility & contrast

On white

8.12
#234AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#234AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234AA4
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234AA4#FFFFFF#000000##FFFFFF
##234AA41.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #234aa4;
/* rgb */ color: rgb(35, 74, 164);
/* oklch */ color: oklch(43.7% 0.152 263.6);
Tailwind
colors: {
  custom: {
    50: '#727bc0',
    500: '#234aa4',
    950: '#000000',
  },
}
SCSS
$custom: #234aa4;
$custom-light: #727bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#234aa4",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 221.86,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43676,
    "c": 0.15237,
    "h": 263.6
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#234AA4
secondary
#C3A560
accent
#B540E8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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