#234C8A#234C8A

#234C8A is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.113 H 258.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#234C8A
RGBrgb(35, 76, 138)
HSLhsl(216, 60%, 34%)
HSVhsv(216, 75%, 54%)
CMYKcmyk(74.6%, 44.9%, 0%, 45.9%)
CIE-LABlab(32.61, 8.33, -38.73)
CIE-LCHlch(32.61, 39.61, 282.14°)
OKLaboklab(42.16% -0.0223 -0.1108)
OKLCHoklch(42.16% 0.113 258.6)
XYZxyz(7.8634, 7.3603, 25.0461)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234C8A #8A6123
analogous
#23808A #234C8A #2E238A
triadic
#234C8A #8A234C #4C8A23
tetradic
#234C8A #8A2380 #8A6123 #238A2E
square
#234C8A #8A2380 #8A6123 #238A2E
split-complementary
#234C8A #8A2E23 #808A23
monochromatic
#0A1628 #173159 #234C8A #2F67BB #5487D4

Accessibility & contrast

On white

8.49
#234C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#234C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234C8A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234C8A#FFFFFF#000000##FFFFFF
##234C8A1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#1A4889
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234c8a;
/* rgb */ color: rgb(35, 76, 138);
/* oklch */ color: oklch(42.2% 0.113 258.6);
Tailwind
colors: {
  custom: {
    50: '#6c7dac',
    500: '#234c8a',
    950: '#000000',
  },
}
SCSS
$custom: #234c8a;
$custom-light: #6c7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#234c8a",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 216.117,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42155,
    "c": 0.11304,
    "h": 258.6
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#234C8A
secondary
#B78F51
accent
#A445E3
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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