#233E7C#233E7C

#233E7C is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.110 H 264.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#233E7C
RGBrgb(35, 62, 124)
HSLhsl(222, 56%, 31%)
HSVhsv(222, 72%, 49%)
CMYKcmyk(71.8%, 50%, 0%, 51.4%)
CIE-LABlab(27.46, 12.36, -38.31)
CIE-LCHlch(27.46, 40.26, 287.88°)
OKLaboklab(37.89% -0.0113 -0.1098)
OKLCHoklch(37.89% 0.11 264.1)
XYZxyz(6.0526, 5.2572, 19.7606)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E7C #7C6123
analogous
#236A7C #233E7C #34237C
triadic
#233E7C #7C233E #3E7C23
tetradic
#233E7C #7C236A #7C6123 #237C34
square
#233E7C #7C236A #7C6123 #237C34
split-complementary
#233E7C #7C3423 #6A7C23
monochromatic
#080E1D #16264C #233E7C #3056AC #4D74CD

Accessibility & contrast

On white

10.24
#233E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#233E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233E7C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E7C#FFFFFF#000000##FFFFFF
##233E7C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457E
Deuteranopia (green-blind)
#063D7B
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233e7c;
/* rgb */ color: rgb(35, 62, 124);
/* oklch */ color: oklch(37.9% 0.110 264.1);
Tailwind
colors: {
  custom: {
    50: '#6a72a2',
    500: '#233e7c',
    950: '#000000',
  },
}
SCSS
$custom: #233e7c;
$custom-light: #6a72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#233e7c",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 124
  },
  "hsl": {
    "h": 221.798,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37888,
    "c": 0.11042,
    "h": 264.1
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#233E7C
secondary
#AF914C
accent
#B249DF
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #233E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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