#234071#234071

#234071 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.091 H 260.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#234071
RGBrgb(35, 64, 113)
HSLhsl(218, 53%, 29%)
HSVhsv(218, 69%, 44%)
CMYKcmyk(69%, 43.4%, 0%, 55.7%)
CIE-LABlab(27.34, 6.65, -31.55)
CIE-LCHlch(27.34, 32.24, 281.91°)
OKLaboklab(37.57% -0.0154 -0.0899)
OKLCHoklch(37.57% 0.091 260.3)
XYZxyz(5.5061, 5.2158, 16.3362)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234071 #715423
analogous
#236771 #234071 #2D2371
triadic
#234071 #712340 #407123
tetradic
#234071 #712367 #715423 #23712D
square
#234071 #712367 #715423 #23712D
split-complementary
#234071 #712D23 #677123
monochromatic
#070D17 #152642 #234071 #315AA0 #4877C6

Accessibility & contrast

On white

10.28
#234071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#234071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234071
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234071#FFFFFF#000000##FFFFFF
##2340711.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4473
Deuteranopia (green-blind)
#1E3D70
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #234071;
/* rgb */ color: rgb(35, 64, 113);
/* oklch */ color: oklch(37.6% 0.091 260.3);
Tailwind
colors: {
  custom: {
    50: '#67749a',
    500: '#234071',
    950: '#000000',
  },
}
SCSS
$custom: #234071;
$custom-light: #67749a;
$custom-dark: #000000;
JSON
{
  "hex": "#234071",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 217.692,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37566,
    "c": 0.09125,
    "h": 260.3
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#234071
secondary
#A4834C
accent
#A64CDC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #234071

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

Preview Lab → · Contrast checker → · Palette generator →

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