#233C7C#233C7C

#233C7C is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.113 H 265.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#233C7C
RGBrgb(35, 60, 124)
HSLhsl(223, 56%, 31%)
HSVhsv(223, 72%, 49%)
CMYKcmyk(71.8%, 51.6%, 0%, 51.4%)
CIE-LABlab(26.86, 13.75, -39.27)
CIE-LCHlch(26.86, 41.61, 289.29°)
OKLaboklab(37.43% -0.0093 -0.1127)
OKLCHoklch(37.43% 0.113 265.3)
XYZxyz(5.9458, 5.0437, 19.7251)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C7C #7C6323
analogous
#23687C #233C7C #36237C
triadic
#233C7C #7C233C #3C7C23
tetradic
#233C7C #7C2368 #7C6323 #237C36
square
#233C7C #7C2368 #7C6323 #237C36
split-complementary
#233C7C #7C3623 #687C23
monochromatic
#080E1D #16254C #233C7C #3053AC #4D71CD

Accessibility & contrast

On white

10.45
#233C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#233C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C7C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C7C#FFFFFF#000000##FFFFFF
##233C7C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233c7c;
/* rgb */ color: rgb(35, 60, 124);
/* oklch */ color: oklch(37.4% 0.113 265.3);
Tailwind
colors: {
  custom: {
    50: '#6a71a2',
    500: '#233c7c',
    950: '#000000',
  },
}
SCSS
$custom: #233c7c;
$custom-light: #6a71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#233c7c",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 124
  },
  "hsl": {
    "h": 223.146,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37433,
    "c": 0.11309,
    "h": 265.3
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#233C7C
secondary
#AF934C
accent
#B549DF
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233C7C

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

Preview Lab → · Contrast checker → · Palette generator →

#233C7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva