#234074#234074

#234074 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.096 H 261.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#234074
RGBrgb(35, 64, 116)
HSLhsl(219, 54%, 30%)
HSVhsv(219, 70%, 45%)
CMYKcmyk(69.8%, 44.8%, 0%, 54.5%)
CIE-LABlab(27.53, 7.83, -33.15)
CIE-LCHlch(27.53, 34.06, 283.28°)
OKLaboklab(37.77% -0.0148 -0.0946)
OKLCHoklch(37.77% 0.096 261.1)
XYZxyz(5.6778, 5.2845, 17.2404)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234074 #745723
analogous
#236874 #234074 #2F2374
triadic
#234074 #742340 #407423
tetradic
#234074 #742368 #745723 #23742F
square
#234074 #742368 #745723 #23742F
split-complementary
#234074 #742F23 #687423
monochromatic
#070D18 #152645 #234074 #315AA3 #4977C8

Accessibility & contrast

On white

10.21
#234074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#234074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234074
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234074#FFFFFF#000000##FFFFFF
##2340741.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274576
Deuteranopia (green-blind)
#1A3E73
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #234074;
/* rgb */ color: rgb(35, 64, 116);
/* oklch */ color: oklch(37.8% 0.096 261.1);
Tailwind
colors: {
  custom: {
    50: '#68749c',
    500: '#234074',
    950: '#000000',
  },
}
SCSS
$custom: #234074;
$custom-light: #68749c;
$custom-dark: #000000;
JSON
{
  "hex": "#234074",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 218.519,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37773,
    "c": 0.09578,
    "h": 261.1
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#234074
secondary
#A7864C
accent
#A94BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #234074

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

Preview Lab → · Contrast checker → · Palette generator →

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