#234181#234181

#234181 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.114 H 263.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#234181
RGBrgb(35, 65, 129)
HSLhsl(221, 57%, 32%)
HSVhsv(221, 73%, 51%)
CMYKcmyk(72.9%, 49.6%, 0%, 49.4%)
CIE-LABlab(28.70, 12.26, -39.44)
CIE-LCHlch(28.70, 41.30, 287.27°)
OKLaboklab(38.95% -0.0134 -0.1131)
OKLCHoklch(38.95% 0.114 263.2)
XYZxyz(6.5445, 5.7222, 21.5242)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234181 #816323
analogous
#237081 #234181 #342381
triadic
#234181 #812341 #418123
tetradic
#234181 #812370 #816323 #238134
square
#234181 #812370 #816323 #238134
split-complementary
#234181 #813423 #708123
monochromatic
#091021 #162951 #234181 #3059B1 #4F78CF

Accessibility & contrast

On white

9.79
#234181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#234181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234181
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234181#FFFFFF#000000##FFFFFF
##2341811.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4883
Deuteranopia (green-blind)
#054080
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #234181;
/* rgb */ color: rgb(35, 65, 129);
/* oklch */ color: oklch(39.0% 0.114 263.2);
Tailwind
colors: {
  custom: {
    50: '#6b75a6',
    500: '#234181',
    950: '#000000',
  },
}
SCSS
$custom: #234181;
$custom-light: #6b75a6;
$custom-dark: #000000;
JSON
{
  "hex": "#234181",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 220.851,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38952,
    "c": 0.11389,
    "h": 263.2
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#234181
secondary
#B3924D
accent
#B047E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #234181

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

Preview Lab → · Contrast checker → · Palette generator →

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