#234C8B#234C8B

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

Color values

HEX#234C8B
RGBrgb(35, 76, 139)
HSLhsl(216, 60%, 34%)
HSVhsv(216, 75%, 55%)
CMYKcmyk(74.8%, 45.3%, 0%, 45.5%)
CIE-LABlab(32.68, 8.72, -39.24)
CIE-LCHlch(32.68, 40.20, 282.53°)
OKLaboklab(42.23% -0.0221 -0.1123)
OKLCHoklch(42.23% 0.114 258.9)
XYZxyz(7.9361, 7.3894, 25.4291)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234C8B #8B6223
analogous
#23808B #234C8B #2E238B
triadic
#234C8B #8B234C #4C8B23
tetradic
#234C8B #8B2380 #8B6223 #238B2E
square
#234C8B #8B2380 #8B6223 #238B2E
split-complementary
#234C8B #8B2E23 #808B23
monochromatic
#0A1729 #17315A #234C8B #2F67BC #5487D4

Accessibility & contrast

On white

8.47
#234C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#234C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234C8B
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234C8B#FFFFFF#000000##FFFFFF
##234C8B1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#19488A
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234c8b;
/* rgb */ color: rgb(35, 76, 139);
/* oklch */ color: oklch(42.2% 0.114 258.9);
Tailwind
colors: {
  custom: {
    50: '#6c7dad',
    500: '#234c8b',
    950: '#000000',
  },
}
SCSS
$custom: #234c8b;
$custom-light: #6c7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#234c8b",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 216.346,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42225,
    "c": 0.11448,
    "h": 258.9
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#234C8B
secondary
#B89052
accent
#A545E3
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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