#233474#233474

#233474 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.112 H 268.8°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#233474
RGBrgb(35, 52, 116)
HSLhsl(227, 54%, 30%)
HSVhsv(227, 70%, 45%)
CMYKcmyk(69.8%, 55.2%, 0%, 54.5%)
CIE-LABlab(23.91, 16.20, -38.96)
CIE-LCHlch(23.91, 42.19, 292.58°)
OKLaboklab(35.01% -0.0024 -0.1119)
OKLCHoklch(35.01% 0.112 268.8)
XYZxyz(5.0724, 4.0738, 17.0386)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233474 #746323
analogous
#235D74 #233474 #3A2374
triadic
#233474 #742334 #347423
tetradic
#233474 #74235D #746323 #23743A
square
#233474 #74235D #746323 #23743A
split-complementary
#233474 #743A23 #5D7423
monochromatic
#070B18 #151F45 #233474 #3149A3 #4964C8

Accessibility & contrast

On white

11.57
#233474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#233474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233474
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233474#FFFFFF#000000##FFFFFF
##2334741.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3D76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #233474;
/* rgb */ color: rgb(35, 52, 116);
/* oklch */ color: oklch(35.0% 0.112 268.8);
Tailwind
colors: {
  custom: {
    50: '#686b9c',
    500: '#233474',
    950: '#000000',
  },
}
SCSS
$custom: #233474;
$custom-light: #686b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#233474",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 227.407,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35011,
    "c": 0.11194,
    "h": 268.8
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#233474
secondary
#A7944C
accent
#BE4BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #233474

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

Preview Lab → · Contrast checker → · Palette generator →

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