#234CA6#234CA6

#234CA6 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.153 H 263.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#234CA6
RGBrgb(35, 76, 166)
HSLhsl(221, 65%, 39%)
HSVhsv(221, 79%, 65%)
CMYKcmyk(78.9%, 54.2%, 0%, 34.9%)
CIE-LABlab(34.56, 19.37, -52.57)
CIE-LCHlch(34.56, 56.02, 290.23°)
OKLaboklab(44.26% -0.0182 -0.1515)
OKLCHoklch(44.26% 0.153 263.2)
XYZxyz(10.1581, 8.2782, 37.1315)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234CA6 #A67D23
analogous
#238EA6 #234CA6 #3B23A6
triadic
#234CA6 #A6234C #4CA623
tetradic
#234CA6 #A6238E #A67D23 #23A63B
square
#234CA6 #A6238E #A67D23 #23A63B
split-complementary
#234CA6 #A63B23 #8EA623
monochromatic
#0E1E41 #183573 #234CA6 #3265D4 #658BDF

Accessibility & contrast

On white

7.91
#234CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#234CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234CA6
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234CA6#FFFFFF#000000##FFFFFF
##234CA61.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0258A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234ca6;
/* rgb */ color: rgb(35, 76, 166);
/* oklch */ color: oklch(44.3% 0.153 263.2);
Tailwind
colors: {
  custom: {
    50: '#737dc1',
    500: '#234ca6',
    950: '#000000',
  },
}
SCSS
$custom: #234ca6;
$custom-light: #737dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#234ca6",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 221.221,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44262,
    "c": 0.15262,
    "h": 263.2
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#234CA6
secondary
#C4A561
accent
#B340E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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