#233C74#233C74

#233C74 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.8% C 0.101 H 264.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#233C74
RGBrgb(35, 60, 116)
HSLhsl(221, 54%, 30%)
HSVhsv(221, 70%, 45%)
CMYKcmyk(69.8%, 48.3%, 0%, 54.5%)
CIE-LABlab(26.30, 10.59, -35.11)
CIE-LCHlch(26.30, 36.68, 286.79°)
OKLaboklab(36.83% -0.0105 -0.1005)
OKLCHoklch(36.83% 0.101 264)
XYZxyz(5.4603, 4.8495, 17.1679)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C74 #745B23
analogous
#236574 #233C74 #322374
triadic
#233C74 #74233C #3C7423
tetradic
#233C74 #742365 #745B23 #237432
square
#233C74 #742365 #745B23 #237432
split-complementary
#233C74 #743223 #657423
monochromatic
#070C18 #152445 #233C74 #3154A3 #4970C8

Accessibility & contrast

On white

10.66
#233C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#233C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C74
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C74#FFFFFF#000000##FFFFFF
##233C741.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#103B73
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #233c74;
/* rgb */ color: rgb(35, 60, 116);
/* oklch */ color: oklch(36.8% 0.101 264.0);
Tailwind
colors: {
  custom: {
    50: '#68719c',
    500: '#233c74',
    950: '#000000',
  },
}
SCSS
$custom: #233c74;
$custom-light: #68719c;
$custom-dark: #000000;
JSON
{
  "hex": "#233c74",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 116
  },
  "hsl": {
    "h": 221.481,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36828,
    "c": 0.10102,
    "h": 264
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#233C74
secondary
#A78B4C
accent
#B04BDD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #233C74

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

Preview Lab → · Contrast checker → · Palette generator →

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