#234A8A#234A8A

#234A8A is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.116 H 259.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#234A8A
RGBrgb(35, 74, 138)
HSLhsl(217, 60%, 34%)
HSVhsv(217, 75%, 54%)
CMYKcmyk(74.6%, 46.4%, 0%, 45.9%)
CIE-LABlab(32.01, 9.67, -39.70)
CIE-LCHlch(32.01, 40.86, 283.70°)
OKLaboklab(41.69% -0.0204 -0.1137)
OKLCHoklch(41.69% 0.116 259.8)
XYZxyz(7.7277, 7.0890, 25.0009)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234A8A #8A6323
analogous
#237E8A #234A8A #30238A
triadic
#234A8A #8A234A #4A8A23
tetradic
#234A8A #8A237E #8A6323 #238A30
square
#234A8A #8A237E #8A6323 #238A30
split-complementary
#234A8A #8A3023 #7E8A23
monochromatic
#0A1628 #173059 #234A8A #2F64BB #5484D4

Accessibility & contrast

On white

8.68
#234A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#234A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234A8A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234A8A#FFFFFF#000000##FFFFFF
##234A8A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#144789
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #234a8a;
/* rgb */ color: rgb(35, 74, 138);
/* oklch */ color: oklch(41.7% 0.116 259.8);
Tailwind
colors: {
  custom: {
    50: '#6c7cac',
    500: '#234a8a',
    950: '#000000',
  },
}
SCSS
$custom: #234a8a;
$custom-light: #6c7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#234a8a",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 217.282,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41688,
    "c": 0.11552,
    "h": 259.8
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#234A8A
secondary
#B79151
accent
#A745E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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