#234474#234474

#234474 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.7% C 0.091 H 257.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#234474
RGBrgb(35, 68, 116)
HSLhsl(216, 54%, 30%)
HSVhsv(216, 70%, 45%)
CMYKcmyk(69.8%, 41.4%, 0%, 54.5%)
CIE-LABlab(28.78, 5.10, -31.16)
CIE-LCHlch(28.78, 31.57, 279.29°)
OKLaboklab(38.74% -0.0191 -0.0887)
OKLCHoklch(38.74% 0.091 257.8)
XYZxyz(5.9115, 5.7519, 17.3183)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234474 #745323
analogous
#236C74 #234474 #2B2374
triadic
#234474 #742344 #447423
tetradic
#234474 #74236C #745323 #23742B
square
#234474 #74236C #745323 #23742B
split-complementary
#234474 #742B23 #6C7423
monochromatic
#070E18 #152845 #234474 #3160A3 #497DC8

Accessibility & contrast

On white

9.76
#234474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#234474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234474
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234474#FFFFFF#000000##FFFFFF
##2344741.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4876
Deuteranopia (green-blind)
#224073
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #234474;
/* rgb */ color: rgb(35, 68, 116);
/* oklch */ color: oklch(38.7% 0.091 257.8);
Tailwind
colors: {
  custom: {
    50: '#68779c',
    500: '#234474',
    950: '#000000',
  },
}
SCSS
$custom: #234474;
$custom-light: #68779c;
$custom-dark: #000000;
JSON
{
  "hex": "#234474",
  "rgb": {
    "r": 35,
    "g": 68,
    "b": 116
  },
  "hsl": {
    "h": 215.556,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38739,
    "c": 0.09077,
    "h": 257.8
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#234474
secondary
#A7824C
accent
#A14BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #234474

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

Preview Lab → · Contrast checker → · Palette generator →

#234474 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva