#234174#234174

#234174 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.095 H 260.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#234174
RGBrgb(35, 65, 116)
HSLhsl(218, 54%, 30%)
HSVhsv(218, 70%, 45%)
CMYKcmyk(69.8%, 44%, 0%, 54.5%)
CIE-LABlab(27.84, 7.14, -32.65)
CIE-LCHlch(27.84, 33.42, 282.33°)
OKLaboklab(38.01% -0.0159 -0.0932)
OKLCHoklch(38.01% 0.095 260.3)
XYZxyz(5.7347, 5.3983, 17.2594)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234174 #745623
analogous
#236A74 #234174 #2E2374
triadic
#234174 #742341 #417423
tetradic
#234174 #74236A #745623 #23742E
square
#234174 #74236A #745623 #23742E
split-complementary
#234174 #742E23 #6A7423
monochromatic
#070D18 #152745 #234174 #315BA3 #4978C8

Accessibility & contrast

On white

10.10
#234174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#234174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234174
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234174#FFFFFF#000000##FFFFFF
##2341741.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#1C3E73
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #234174;
/* rgb */ color: rgb(35, 65, 116);
/* oklch */ color: oklch(38.0% 0.095 260.3);
Tailwind
colors: {
  custom: {
    50: '#68759c',
    500: '#234174',
    950: '#000000',
  },
}
SCSS
$custom: #234174;
$custom-light: #68759c;
$custom-dark: #000000;
JSON
{
  "hex": "#234174",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 217.778,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38013,
    "c": 0.0945,
    "h": 260.3
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#234174
secondary
#A7854C
accent
#A74BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #234174

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

Preview Lab → · Contrast checker → · Palette generator →

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