#233F7A#233F7A

#233F7A is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.106 H 263.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#233F7A
RGBrgb(35, 63, 122)
HSLhsl(221, 55%, 31%)
HSVhsv(221, 71%, 48%)
CMYKcmyk(71.3%, 48.4%, 0%, 52.2%)
CIE-LABlab(27.62, 10.88, -36.79)
CIE-LCHlch(27.62, 38.36, 286.47°)
OKLaboklab(37.97% -0.0126 -0.1053)
OKLCHoklch(37.97% 0.106 263.2)
XYZxyz(5.9823, 5.3169, 19.1196)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F7A #7A5E23
analogous
#236A7A #233F7A #32237A
triadic
#233F7A #7A233F #3F7A23
tetradic
#233F7A #7A236A #7A5E23 #237A32
square
#233F7A #7A236A #7A5E23 #237A32
split-complementary
#233F7A #7A3223 #6A7A23
monochromatic
#080E1B #15264A #233F7A #3158AA #4C75CC

Accessibility & contrast

On white

10.18
#233F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#233F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F7A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F7A#FFFFFF#000000##FFFFFF
##233F7A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457C
Deuteranopia (green-blind)
#0F3D79
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233f7a;
/* rgb */ color: rgb(35, 63, 122);
/* oklch */ color: oklch(38.0% 0.106 263.2);
Tailwind
colors: {
  custom: {
    50: '#6973a1',
    500: '#233f7a',
    950: '#000000',
  },
}
SCSS
$custom: #233f7a;
$custom-light: #6973a1;
$custom-dark: #000000;
JSON
{
  "hex": "#233f7a",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 122
  },
  "hsl": {
    "h": 220.69,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37969,
    "c": 0.1061,
    "h": 263.2
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#233F7A
secondary
#AD8E4C
accent
#AF49DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #233F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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