#233774#233774

#233774 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.108 H 267.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#233774
RGBrgb(35, 55, 116)
HSLhsl(225, 54%, 30%)
HSVhsv(225, 70%, 45%)
CMYKcmyk(69.8%, 52.6%, 0%, 54.5%)
CIE-LABlab(24.80, 14.09, -37.53)
CIE-LCHlch(24.80, 40.09, 290.58°)
OKLaboklab(35.68% -0.0054 -0.1077)
OKLCHoklch(35.68% 0.108 267.1)
XYZxyz(5.2106, 4.3502, 17.0847)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233774 #746023
analogous
#236074 #233774 #382374
triadic
#233774 #742337 #377423
tetradic
#233774 #742360 #746023 #237438
square
#233774 #742360 #746023 #237438
split-complementary
#233774 #743823 #607423
monochromatic
#070B18 #152145 #233774 #314DA3 #4969C8

Accessibility & contrast

On white

11.23
#233774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#233774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233774
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233774#FFFFFF#000000##FFFFFF
##2337741.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#004550
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #233774;
/* rgb */ color: rgb(35, 55, 116);
/* oklch */ color: oklch(35.7% 0.108 267.1);
Tailwind
colors: {
  custom: {
    50: '#686d9c',
    500: '#233774',
    950: '#000000',
  },
}
SCSS
$custom: #233774;
$custom-light: #686d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#233774",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 225.185,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3568,
    "c": 0.1078,
    "h": 267.1
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#233774
secondary
#A7904C
accent
#B94BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #233774

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

Preview Lab → · Contrast checker → · Palette generator →

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