#234C8E#234C8E

#234C8E is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.119 H 259.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#234C8E
RGBrgb(35, 76, 142)
HSLhsl(217, 60%, 35%)
HSVhsv(217, 75%, 56%)
CMYKcmyk(75.4%, 46.5%, 0%, 44.3%)
CIE-LABlab(32.87, 9.90, -40.76)
CIE-LCHlch(32.87, 41.95, 283.66°)
OKLaboklab(42.44% -0.0215 -0.1168)
OKLCHoklch(42.44% 0.119 259.5)
XYZxyz(8.1583, 7.4783, 26.5994)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234C8E #8E6523
analogous
#23828E #234C8E #2F238E
triadic
#234C8E #8E234C #4C8E23
tetradic
#234C8E #8E2382 #8E6523 #238E2F
square
#234C8E #8E2382 #8E6523 #238E2F
split-complementary
#234C8E #8E2F23 #828E23
monochromatic
#0B172C #17325D #234C8E #2F66BF #5687D5

Accessibility & contrast

On white

8.41
#234C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#234C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234C8E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234C8E#FFFFFF#000000##FFFFFF
##234C8E1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#13498D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234c8e;
/* rgb */ color: rgb(35, 76, 142);
/* oklch */ color: oklch(42.4% 0.119 259.5);
Tailwind
colors: {
  custom: {
    50: '#6d7daf',
    500: '#234c8e',
    950: '#000000',
  },
}
SCSS
$custom: #234c8e;
$custom-light: #6d7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#234c8e",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 217.009,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.11877,
    "h": 259.5
  },
  "luminance": 0.07479
}

Semantic roles & 50–950 ramp

primary
#234C8E
secondary
#B99253
accent
#A744E4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #234C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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